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...

bijna 9 jaar 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 ...

bijna 9 jaar 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) ...

bijna 9 jaar 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...

bijna 9 jaar 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...

bijna 9 jaar 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 ...

bijna 9 jaar 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.

bijna 9 jaar 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...

bijna 9 jaar 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...

bijna 9 jaar 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. ...

bijna 9 jaar 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...

bijna 9 jaar 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...

bijna 9 jaar 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...

bijna 9 jaar 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...

bijna 9 jaar 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...

bijna 9 jaar 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...

bijna 9 jaar 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 ...

bijna 9 jaar 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. ...

bijna 9 jaar 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...

bijna 9 jaar 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...

ongeveer 9 jaar 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...

ongeveer 9 jaar ago | 0

Answered

How to create relation from each rule

Great now I can read something. I see you're writing a code from ground zero and defined a lot of membership functions, which se...

How to create relation from each rule

Great now I can read something. I see you're writing a code from ground zero and defined a lot of membership functions, which se...

ongeveer 9 jaar ago | 1

| accepted

Answered

how i can solve this error ''Cell contents assignment to a non-cell array object''.

Hi Abdu, you have some evident problem in your code. the variable _elists_ is not a cell. I think you may have defined it ...

how i can solve this error ''Cell contents assignment to a non-cell array object''.

Hi Abdu, you have some evident problem in your code. the variable _elists_ is not a cell. I think you may have defined it ...

ongeveer 9 jaar ago | 1

| accepted

Answered

how to obtain the area of region

Hi Elysi, You can use bwarea() command, however make sure that this definition of area is suitable for you. Good luck ;)...

how to obtain the area of region

Hi Elysi, You can use bwarea() command, however make sure that this definition of area is suitable for you. Good luck ;)...

ongeveer 9 jaar ago | 0

| accepted

Answered

Approximate plot for values of 0-10

I guess you need to change the meshgrid() [X,Y] = meshgrid(0:10); I guess that's all!

Approximate plot for values of 0-10

I guess you need to change the meshgrid() [X,Y] = meshgrid(0:10); I guess that's all!

ongeveer 9 jaar ago | 0

| accepted

Answered

How to find the threshold value for this image?

Hey Nurul, I am not sure what exactly you want to threshold, so here is a general solution. Step1 : Convert this to graysc...

How to find the threshold value for this image?

Hey Nurul, I am not sure what exactly you want to threshold, so here is a general solution. Step1 : Convert this to graysc...

ongeveer 9 jaar ago | 0

Answered

How do I classify points in an image into groups?

Hi Maa Kari, You can shrink the spots to a single point using bwmorph(). Then you may classify them according to their X a...

How do I classify points in an image into groups?

Hi Maa Kari, You can shrink the spots to a single point using bwmorph(). Then you may classify them according to their X a...

ongeveer 9 jaar ago | 0

Answered

How to scale a 3D meshed model plot to a certain size?

Hi Patrick, What do you meany you want to make it bigger or smaller in proportion?! You want to stretch it in X and not in...

How to scale a 3D meshed model plot to a certain size?

Hi Patrick, What do you meany you want to make it bigger or smaller in proportion?! You want to stretch it in X and not in...

meer dan 9 jaar ago | 0

| accepted

Answered

Help: Smooth a curve generated from a group of specified points

Hello Khanh, Please try to use resample rather than spline doc resample <http://www.mathworks.co.uk/help/ident/ref/resa...

Help: Smooth a curve generated from a group of specified points

Hello Khanh, Please try to use resample rather than spline doc resample <http://www.mathworks.co.uk/help/ident/ref/resa...

meer dan 9 jaar ago | 1

Answered

1 how to extract cols and rows from a matrix，2，how to find a value the vector close to ,

Hi Roger, I don't think if you needed to assign the data to remain1 remain2 and ... you could do anything you wanted to do wi...

1 how to extract cols and rows from a matrix，2，how to find a value the vector close to ,

Hi Roger, I don't think if you needed to assign the data to remain1 remain2 and ... you could do anything you wanted to do wi...

meer dan 9 jaar ago | 0

| accepted