57 total contributions since 2011

Professional Interests: Spectroscopy, Optics, Image processing, Astrophysics, Space Physics, Oceanography

Question

Complex math problem, envelope within an area

Hi, I have a complex math problem and I don't know how to start. I have a rectangular area of certain dimension x mm. Let sa...

2 years ago | 0 answers | 0

Question

Image analysis, intensity within a rectangle area

Hi, I was wondering if someone can help me. I have a gray image of certain size (say 400 x 400 pixels) in which I have some inte...

3 years ago | 1 answer | 0

Question

How to unwrap a signal?

I like to unwrap this vector, I calculated with a cos-function to obtain a nice dip. The figure looks like this: <</matla...

4 years ago | 0 answers | 0

Question

How can I flip the top area of the peak that is going down?

Hi, I would like to flip the part of the peak that goes gown so its pointed upward. I want there to be a space between the data ...

4 years ago | 1 answer | 0

Question

How to flip or mirror some vector parts

Hi, I have a data that has flipped on me. I need to correct for this but I am not sure how to do this. The data is in vector...

5 years ago | 1 answer | 0

Question

How to counter drifting data.

I have a dataset that is drifting a bit in time. Is there a way in matlab to counter it? I have data that changes amplitude at t...

5 years ago | 1 answer | 0

Question

How to correct for a drifting baseline?

How can I correct for a drfiting signal that is slowly declining, (x,y) values?

5 years ago | 1 answer | 0

Question

How to solve plotting different data in same figure when x-vectors are not the same?

Hi, I am trying to plot 2 data in a plotyy(X1,Y1,X2,Y2) fashion. However the data x1 and x2 does not have the same timescale...

5 years ago | 2 answers | 0

Question

Finding indices when the curve stops decreasing

Hi, I have a curve I like to find the maximum and then find the indices under the peak for which it stops decreasing on each...

5 years ago | 3 answers | 0

Question

How to convert hours, minutes, seconds to seconds?

Hi, How can I return an array with hh:min:sec into seconds? For example VarName2(1:5) ans = ...

5 years ago | 1 answer | 0

Question

diary, how to create a new one

I have a .m file I want to save the text at the command window. Next time I run the m-file I want to create a new diary file. Th...

5 years ago | 3 answers | 0

Question

problem with overwritten data when auto saving

I want to auto save certain data based on where they are located in the computer. For example, myFolder = '/Users/user/Docu...

5 years ago | 1 answer | 0

Question

Adding a plot to existing plot.

I have a base plot in which I would like to add a smaller version of a second plot/figure ontop of the base plot at a certain lo...

5 years ago | 1 answer | 0

Question

Add existing figures onto of a new plot without using subplot

Hi, So I have a plot that something with a handle h(1) and h(2) I would like to add 4 more figures onto of the existing f...

5 years ago | 1 answer | 0

Question

Saving figures in m-file

I am processing data and have several m-files at the time that I want to run and autosave .mat and .fig for the file. I use ...

5 years ago | 0 answers | 0

Question

Trying to find out when a curve becomes exponential

Greetings, I have a dataset from simulations of curves which I want to find out when this curve becomes exponential or when ...

5 years ago | 1 answer | 0

Question

Area between baseline and data peak

Hi, I am trying to determine the area under a peak curve, see image. The baseline illustrated in image is not zero, and I wo...

5 years ago | 3 answers | 1

Question

Plotting data from struct

Hi, I am plotting data from a struct, for example plot(someStruct.a, someStruct.c) The figure I obtain I can hardly ...

5 years ago | 2 answers | 2

Question

Trying to understand the image matrix

Hi, I have a jpg image and opened it in MATLAB. It has the following size; size(pixImage{1}) = 1024 1280 ...

5 years ago | 2 answers | 0

Question

How to store number of images matrix and double values in cell or array?

I am not to familiar with arrays or cells in MATLAB. I would like to make an array that contains in one cell for image 1, image ...

5 years ago | 1 answer | 0

Answered

Reading image save as matrix and store filename information

Follow-up question 2: I am not to familiar with arrays or cells in MATLAB. I would like to make an array that contains in on...

Reading image save as matrix and store filename information

Follow-up question 2: I am not to familiar with arrays or cells in MATLAB. I would like to make an array that contains in on...

5 years ago | 0

Question

Reading image save as matrix and store filename information

Hi, I have X number of images I need to upload and obtain the data stored in the file name for later operations. For example...

5 years ago | 3 answers | 0

Question

Why does my IEEE submission complain with format EPS file generated in MATLAB R2013b

I am getting the following errors, The graphic file is saved in CMYK mode. The graphic file needs to be submitted as RGB or ...

5 years ago | 0 answers | 0

Question

convert time stamp into minutes or seconds

I have a file with 29.06.2014 09:53:37 -1.8 29.06.2014 09:58:36 -2.0 29.06.2014 10:39:01 -2.0 I...

5 years ago | 2 answers | 0

Question

Fitting multiple datasets simultaneously

Hi, I was wondering if there is a way do a linear fit on 2 datasets simultaneously? It seems like you can only do a linear f...

5 years ago | 1 answer | 0

Question

Finding and plotting the standard deviation of data fitted to a linear curve?

How can I find the standard deviation for data (x,y) fitted to a linear curve?

5 years ago | 0 answers | 0

Question

Normalisation of data points

Hi, I have a set of data points that has a drift, that is the power is decreasing with time (the line) although the line are...

6 years ago | 1 answer | 0

Question

Splitting a mesh grid and put them together again.

Hi, I need to do a very dense mesh... but my computer cannot handle the amount of data. so I would like to split it into t...

6 years ago | 0 answers | 1

Question

Meshing cartesian coordiantes within a circle?

I want to do a mesh with x and y .. but I only want to display the data for a circle with radius r. I don't want to use polar ...

6 years ago | 1 answer | 0

Question

How to from my vector coordinate to fit my meshgrid matrix?

Hi, I created a meshgrid x, y, which is an matrix of (25, 5) in sixe. Then I rearranged this to r = [ x(:) y (:) ] ...

6 years ago | 1 answer | 0