Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 10 ans il y a | 0

Réponse apportée
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) ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 10 ans il y a | 0

Réponse apportée
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.

plus de 10 ans il y a | 1

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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. ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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 ...

plus de 10 ans il y a | 0

Réponse apportée
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. ...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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 ;)...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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!

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 11 ans il y a | 1

Réponse apportée
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...

environ 11 ans il y a | 0

| A accepté

Charger plus