Community Profile

Contact

Top 5% contributor

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

4 Answers

0

Asked 5 months ago

I have the string "2DVIS_data_08_40fs", and I want to extract the numbers included between the last underscore '_' and the last ...

3 Answers

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

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

Asked 6 months ago

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

2 Answers

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

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

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

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

Asked 10 months ago

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

Asked 1 year ago

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

I have an array of points that gives me an interferogram like this: <</matlabcentral/answers/uploaded_files/7539/fig3.png>>...

1 Answers

1

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

I have two vectors, x and y, and I plot the function y=f(x) with the command plot(x,y). I need to know what is the value of x co...

Asked 4 days ago

Hi, I have a very simple question about saving images in Matlab. I need to save a plot as a .jpeg and I do this by executing thi...

Asked 28 days ago

I have to use for the first time a popup menu in a GUI interface. I know I can switch two or more options with it; for example, ...

Asked 30 days ago

I want to increase the thickness of a line in a plot with the command 'Linewidth' followed by a number, for example: plot(...

Asked 1 month ago

Hi guys, I have a simple question about how to save data. Let's suppose I have two vectors, x and y; I want to save them as a .t...

Hello, I have a simple question: I need to plot two vectors x and y as a function y=f(x), i.e. plot(x,y). I want the y numerical...

Hi everyone! I need to load some files from a folder, but I don't know how to save the directory. I'm using a GUI interface, and...

I have a GUI interface with an edit text box (tag edit1) and a slider (tag slider 1). At a certain point of the program, a numbe...

I need help with an operation in a Matlab GUI code. I have a folder in my laptop where some files (.dat) are saved , and they ar...

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

In a GUI file, how can I use a slider to increase or decrease by one unit the number contained into an edit text box ? Thanks

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

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

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

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

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

Load more