How can you extract data from a .mat file?

I have a .mat file that contains the values of bacterial fluorescence in single cells. How can I obtain the exact values of the fluorescence at two or more different timepoints from this .mat file? Or what other method could I use to calculate the bacterial growth at different timepoints?
I already have the exponential growth curve in a .pdf file. The x axis contains the number of frames (or images taken every 10 minutes on a confocal microscope, can be converted to hours by using (frameNumber x 10)/60), and the y axis bacterial growth. The red curve is the one I'm trying to get some data out of. If I could manually input the first and last frame (I'm only interested in values between cell death and end of the curve), how would I go about extracting actual values of the bacterial fluorescence, say, at timepoints 50, 150, 250 in the uploaded image?

 Accepted Answer

‘how would I go about extracting actual values of the bacterial fluorescence, say, at timepoints 50, 150, 250 in the uploaded image?’
I would use the interp1 function. Even if you don’t have values at exactly the points you’re interested in, interp1 will interpolate to calculate them. Your data seem continuous enough in both curves to allow that.

More Answers (0)

Categories

Asked:

on 24 Feb 2017

Answered:

on 24 Feb 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!