Question


Help with extracting part of a string
I have the string "2DVIS_data_08_40fs", and I want to extract the numbers included between the last underscore '_' and the last ...

10 years ago | 4 answers | 0

4

answers

Question


Help with loading in a GUI
I have a question about an operations with a GUI in matlab: I use a push button to load a data file from a folder, and the name ...

10 years ago | 1 answer | 0

1

answer

Question


Help with a double plot
I need to plot two functions, y1 and y2, versus the same axis x. y1 values are very 'distant' from the ones of y2 (eg. y1=[2 4 7...

10 years ago | 3 answers | 0

3

answers

Question


Help with Fourier transform fft
I need to use the matlab function 'fft' to perform a Fourier transform, but the problem is that it always gives me a double-side...

10 years ago | 3 answers | 0

3

answers

Question


Help with fourier transform
Hello! I'm using this function to perform a simple Fourier Transform: function four=FourierDir(t,s,nu) % number of p...

10 years ago | 1 answer | 0

1

answer

Question


Help with minimum of a matrix
Hello! I have a function which generates a matrix M containing elements. Some of them are infinite (- Inf for example). I need t...

10 years ago | 2 answers | 0

2

answers

Question


Help with average of elements in a matrix
I have a matrix M with dimension 630x500. I want to do an average of its values along vertical direction, in order to have a mat...

10 years ago | 3 answers | 0

3

answers

Question


Help with matrix manipulation in matlab
I have a matrix M with dimension 600x500. I want to do an average of its values along vertical direction, in order to have a mat...

10 years ago | 1 answer | 0

1

answer

Question


Help with colorbar in bidimensional plot
Hello ! I have a problem with the colorbar: in this picture you can see a 2D map of a set of data called 'mat' <</matlabcent...

10 years ago | 0 answers | 0

0

answers

Question


Help with contour plot
Hello! I have a 'contour' plot like the one in the figure. <</matlabcentral/answers/uploaded_files/17682/Immagine%20-%20Co...

10 years ago | 1 answer | 0

1

answer

Question


Help with edit text GUI
Hi! I created a Matlab GUI , where an 'Edit text' command is placed. It is initially empty. At a certain point, when I load a nu...

10 years ago | 1 answer | 0

1

answer

Question


Problem with panel in GUI
Hello! I created a GUI with Matlab, and it perfectly works. Then, I decided to create a panel and put all the stuff into the pan...

10 years ago | 1 answer | 0

1

answer

Question


Help with GUI panels
Hi ! I need to create a multiple GUI with Matlab, i.e. a GUI made of more panels, where each panel, containing more commands (pu...

10 years ago | 2 answers | 0

2

answers

Question


Help with GUI - Push button
Hello! I created a GUI with Matlab, that gives me two numbers as output. These two numbers are visualized into two 'Edit text' c...

10 years ago | 2 answers | 0

2

answers

Question


if else condition - empty vector
Hello, I have a doubt on this code: x = [] if x == [] a=3 else a=4 end I don't understand why it ...

10 years ago | 1 answer | 0

1

answer

Question


Help with GUI callback - existence condition
Hello! I'm working on a GUI in Matlab, and I have a simple question. I have two 'Push button' commands, let's say 'Button1' and ...

10 years ago | 2 answers | 0

2

answers

Question


Problem with guidata in a callback with GUI
Hello! I have a problem with the command 'guidata' in a GUI code. I load a matrix (mat) with a 'Push button' command in the GUI ...

10 years ago | 0 answers | 0

0

answers

Question


Help with GUI file using Guide
Hi, I have a question about a simple GUI file; the interface is like the one in the figure. <</matlabcentral/answers/uploaded...

10 years ago | 1 answer | 0

1

answer

Question


Problem with a GUI file
Hi! It's the first time I'm going to use 'guide' on Matlab to create GUI file and I don't understand something. My question is: ...

10 years ago | 1 answer | 0

1

answer

Question


How to modify a GUI
I have created a Graphical User Interface (GUI), but after saving it I can't open and modify it anymore (I can do this just with...

10 years ago | 1 answer | 0

1

answer

Question


Help with for cycle in a vector
I have a vector , and I want to obtain another vector whose elements are obtained by averaging over the elements of the first on...

10 years ago | 2 answers | 0

2

answers

Question


Help with contour of a matrix
I have to plot a bidimensional map of a matrix using 'contour', and what I obtain is plotted in figure. <</matlabcentral/answ...

10 years ago | 1 answer | 0

1

answer

Question


Help with a fit
Hello! I have a set of data (x,y) which describes a function y=f(x). I would like to fit this function with a biexponential func...

10 years ago | 1 answer | 0

1

answer

Question


Help with 'find' function
Hello! I have a vector X with some elements, and I want to find the position p of the element of X whose value is as close as po...

10 years ago | 1 answer | 0

1

answer

Question


Help with basic fitting
Hello,I would like to fit a curve with a line and retrieve slope and intercept of this linear fit. Let x and y be the vectors wh...

10 years ago | 2 answers | 0

2

answers

Question


Help with linear fit
Given a curve (x vs y) I need to do a linear fit but only between two points x1 and x2 of that curve. Then, I need to calculate ...

10 years ago | 2 answers | 0

2

answers

Question


How to obtain a FFT and satisfy a certain condition for it ?
I have an array of points that gives me an interferogram like this: <</matlabcentral/answers/uploaded_files/7539/fig3.png>>...

10 years ago | 1 answer | 1

1

answer

Question


How to create an equally spaced 1D array?
I have two vectors, x and y, of the same length (more or less <2600x1> double). For each element x, a corresponding element y is...

10 years ago | 2 answers | 0

2

answers