Answered

FFT of a selected range of points

Dear Aqua, Please be aware. You probably going to need a window! If you only take the fft of a section without properly sepa...

FFT of a selected range of points

Dear Aqua, Please be aware. You probably going to need a window! If you only take the fft of a section without properly sepa...

mer än 7 år ago | 0

Answered

what does blue colour in frequency representation of audio signal indicates?

You are plotting a stereo signal with 2 channels. One channel is in green and one is in blue. Plot them in separate figure...

what does blue colour in frequency representation of audio signal indicates?

You are plotting a stereo signal with 2 channels. One channel is in green and one is in blue. Plot them in separate figure...

mer än 7 år ago | 0

Answered

How to fit a mixture of uniform and gaussian distributions

Hi Maria, What is a uniform distribution? something like a DC offset? Is it like a constant added to the Gaussian? See if ...

How to fit a mixture of uniform and gaussian distributions

Hi Maria, What is a uniform distribution? something like a DC offset? Is it like a constant added to the Gaussian? See if ...

mer än 7 år ago | 0

Answered

Find if a point lies bellow or above a curve

Hi TY Yes, you can easily do this. I actually done it before, I had series of points and I draw a line with mouse (2 points) ...

Find if a point lies bellow or above a curve

Hi TY Yes, you can easily do this. I actually done it before, I had series of points and I draw a line with mouse (2 points) ...

mer än 7 år ago | 0

| accepted

Answered

error when trying to fit a custom function using cftool

Hi Guys, Well done for providing the equations. It worked fine for me, I attached an image <</matlabcentral/answe...

error when trying to fit a custom function using cftool

Hi Guys, Well done for providing the equations. It worked fine for me, I attached an image <</matlabcentral/answe...

mer än 7 år ago | 0

Answered

Read a binary file of format float

Hi Alon, As a C# programmer you know that "it fails" is not enough! <http://uk.mathworks.com/help/matlab/ref/fopen.html ha...

Read a binary file of format float

Hi Alon, As a C# programmer you know that "it fails" is not enough! <http://uk.mathworks.com/help/matlab/ref/fopen.html ha...

mer än 7 år ago | 0

Answered

How to Write Table to Excel with headers

Hi Samantha, I usually use xlswrite() which then I add the headers as soon as I generate the file. You can give it a try i...

How to Write Table to Excel with headers

Hi Samantha, I usually use xlswrite() which then I add the headers as soon as I generate the file. You can give it a try i...

mer än 7 år ago | 0

Answered

filtering Recorded Lung Noise

Hi, Have you tried filtering your data, very simply with a low pass filter? I've attached a recursive single pole low pass...

filtering Recorded Lung Noise

Hi, Have you tried filtering your data, very simply with a low pass filter? I've attached a recursive single pole low pass...

mer än 7 år ago | 0

| accepted

Answered

If I want to show the path of a heat source as it moves, is it possible to mark the path with numbers?

Hi Chris, You can use text() command. It puts a text in the current position, you can set the string as a number with num2...

If I want to show the path of a heat source as it moves, is it possible to mark the path with numbers?

Hi Chris, You can use text() command. It puts a text in the current position, you can set the string as a number with num2...

mer än 7 år ago | 0

| accepted

Answered

How to scale a dataset to fit an other dataset?

Hi, I recently found about Savitzky-Golay filter, which I think you will like it very much for your application. Have a lo...

How to scale a dataset to fit an other dataset?

Hi, I recently found about Savitzky-Golay filter, which I think you will like it very much for your application. Have a lo...

mer än 7 år ago | 0

| accepted

Answered

How to make a plot using two variables

Hi Hamit, I don't thin if you have any problem plotting in a loop, you just need to organize your data and address them with ...

How to make a plot using two variables

Hi Hamit, I don't thin if you have any problem plotting in a loop, you just need to organize your data and address them with ...

mer än 7 år ago | 0

Answered

how can i convert hourly data for a year to daily data?

Hi Abdulla, You may wanna have a look at reshape() function. Put your data in a column, (apparently its a vector now) ...

how can i convert hourly data for a year to daily data?

Hi Abdulla, You may wanna have a look at reshape() function. Put your data in a column, (apparently its a vector now) ...

mer än 7 år ago | 0

| accepted

Answered

How to read multiple images without renaming images like 10_left.jpeg, 13_left.jpeg, 15_left.jpeg

Hi Hassan, Obviously your files names have a pattern. You can make a for loop and create the file names for i = 10...

How to read multiple images without renaming images like 10_left.jpeg, 13_left.jpeg, 15_left.jpeg

Hi Hassan, Obviously your files names have a pattern. You can make a for loop and create the file names for i = 10...

mer än 7 år ago | 0

| accepted

Answered

How to refer to parameter from function in the loop.

Dear Michael, You used y in your myfunc.m function, so it is not recognized in another function if you don't return as an out...

How to refer to parameter from function in the loop.

Dear Michael, You used y in your myfunc.m function, so it is not recognized in another function if you don't return as an out...

mer än 7 år ago | 0

| accepted

Answered

When is f negative?

Hi, I can suggest a nasty & a bit dumb solution which would be making 4 for loops. Or maybe 3 would be enough. Make it 4 and ...

When is f negative?

Hi, I can suggest a nasty & a bit dumb solution which would be making 4 for loops. Or maybe 3 would be enough. Make it 4 and ...

mer än 7 år ago | 0

Answered

GUI drawing/editing graphs(create nodes, insert edges)

Hi, Have a look at ginput command with which, you can put points in to the graph and draw shapes.

GUI drawing/editing graphs(create nodes, insert edges)

Hi, Have a look at ginput command with which, you can put points in to the graph and draw shapes.

mer än 7 år ago | 1

Answered

how to orientation of all the fragments or images according to the orientation of text.

Hi, You can use radon transform to detect the rotation angle. I think you have to detect the minimum column or row of the rad...

how to orientation of all the fragments or images according to the orientation of text.

Hi, You can use radon transform to detect the rotation angle. I think you have to detect the minimum column or row of the rad...

mer än 7 år ago | 0

| accepted

Answered

How to execute 2 functions simultaneously in the same loop on a GUI

Ok Adam, that's a bit better now! Generally that's not a good way of keeping the track of time. you can make the while loop r...

How to execute 2 functions simultaneously in the same loop on a GUI

Ok Adam, that's a bit better now! Generally that's not a good way of keeping the track of time. you can make the while loop r...

mer än 7 år ago | 0

Answered

How to load the data in this case?

Hi, Is that a excel file?! I don't get what you mean by loading. If you just want to select some values do it like this. ...

How to load the data in this case?

Hi, Is that a excel file?! I don't get what you mean by loading. If you just want to select some values do it like this. ...

mer än 7 år ago | 0

| accepted

Answered

How to Subtract a matrix from another matrix of different size?

Hi Tanmoy, You are almost close First check which row of the matrix a is equal to b for that you can use isequal you ca...

How to Subtract a matrix from another matrix of different size?

Hi Tanmoy, You are almost close First check which row of the matrix a is equal to b for that you can use isequal you ca...

mer än 7 år ago | 0

Answered

how full square matrix first column as second column in matlab

Hi Singh, It sounds a little bit confusing. So if I'm wrong (which I probably am) please give us further clue on what you exa...

how full square matrix first column as second column in matlab

Hi Singh, It sounds a little bit confusing. So if I'm wrong (which I probably am) please give us further clue on what you exa...

mer än 7 år ago | 0

Answered

How To Smooth The Image Edge

Salam Behnam! I guess by smoothing you mean getting rid of the jagged edges. What do you think of performing a dilation wi...

How To Smooth The Image Edge

Salam Behnam! I guess by smoothing you mean getting rid of the jagged edges. What do you think of performing a dilation wi...

mer än 7 år ago | 0

| accepted

Answered

automatically updating input image

Hi, Have a look at the _uigetfile_ command see if helps. If not then you can specify a folder, read all the files inside...

automatically updating input image

Hi, Have a look at the _uigetfile_ command see if helps. If not then you can specify a folder, read all the files inside...

mer än 7 år ago | 0

Answered

Making a program recursive

Hi Andy! I'm not sure if I understood your problem, so let me explain what I understood first! And if it is not what you mean...

Making a program recursive

Hi Andy! I'm not sure if I understood your problem, so let me explain what I understood first! And if it is not what you mean...

mer än 7 år ago | 0

| accepted

Answered

How to add NaN to a matrix with few empty elements?

Hi, I don't think there is an easy way to do this, if you convert them at once you will end up with x = 12555.... an...

How to add NaN to a matrix with few empty elements?

Hi, I don't think there is an easy way to do this, if you convert them at once you will end up with x = 12555.... an...

mer än 7 år ago | 0

Answered

Why does the time scale for a ifft depend on the frequency interval of the frequency signal?

Dear David, I'm afraid you are a little confused. Nyquist rate is different from what you're talking about. please see this ...

Why does the time scale for a ifft depend on the frequency interval of the frequency signal?

Dear David, I'm afraid you are a little confused. Nyquist rate is different from what you're talking about. please see this ...

mer än 7 år ago | 0

Answered

Why does the time scale for a ifft depend on the frequency interval of the frequency signal?

I don't quite understand your question! You may have a signal collected with the sampling frequency of _Fs_ for a long time. ...

Why does the time scale for a ifft depend on the frequency interval of the frequency signal?

I don't quite understand your question! You may have a signal collected with the sampling frequency of _Fs_ for a long time. ...

mer än 7 år ago | 0

Answered

How do i add buttons in my output image??

You need to make a GUI perhaps, and the easiest way is to use MATLAB Graphical User Interface Design Environment (guide). Typ...

How do i add buttons in my output image??

You need to make a GUI perhaps, and the easiest way is to use MATLAB Graphical User Interface Design Environment (guide). Typ...

mer än 7 år ago | 0

Answered

having complexity in figures?

Hi Atas, You can either use a figure command to open a separate figure window. Take it's handle and use it for your further s...

having complexity in figures?

Hi Atas, You can either use a figure command to open a separate figure window. Take it's handle and use it for your further s...

mer än 7 år ago | 0

| accepted

Answered

Taking the Log Power Spectrum of a given frame of a time-domain signal

Dear Darryl, I think you're looking for something called Short-Time Fourier transform. Which as you said applies a moving win...

Taking the Log Power Spectrum of a given frame of a time-domain signal

Dear Darryl, I think you're looking for something called Short-Time Fourier transform. Which as you said applies a moving win...

mer än 7 år ago | 0