Question

How to arrange some rectangles in a big rectangle ?

Hi everyone! i have a rectangle (dim: 1220 x 2440), and, i have some other rectangles that are smaller. (ex: 100x100, 200x300, ...

10 months ago | 0 answers | 0

Question

How to insert Vietnamese in listbox GUI matlab?

Hi everyone! My problem is: I have a GUI contains a listbox. And, now, i want to insert a struct contains Vietnamese into the ...

1 year ago | 0 answers | 0

Question

How to display data from editext in listbox in GUI ?

Hi everyone! My problem is: I have a GUI contains a listbox and a edittext. Listbox have a array of strings: a an ...

1 year ago | 2 answers | 0

Question

How can i exactly click on a point that has drawed on a plot using ginput ?

Hello! My problem is: I have had some points on a figure use plot command with this command lines: figure; hold on x = [1 2...

1 year ago | 1 answer | 0

Question

How can i plot on axes on a GUI when click on a push button on another GUI?

Hello! i have two GUIs with an axes on GUI1 and a push button on GUI2. Now, i want to plot in axes on GUI1 by cliking in the bu...

1 year ago | 1 answer | 0

Question

H must be the handle to a figure or figure descendent??

Hi everyone! My problem is: I have twos GUIs, GUI1 and GUI2. GUI2 is sub - GUI of GUI1 that mean when i click on any componen...

1 year ago | 1 answer | 0

Question

Create a convolution slider in GUi Matlab

Hi eveyone! Could anybody show to me how to create a slider like that i highlighted use a red arrow ? You can see below pictur...

1 year ago | 1 answer | 0

Question

How to Import compex numbers from excel to matlab?

Hi everyone! My problem is: I have vecto x contains double numbers, x = (1 2 3 4) and a vecto y contains complex numbers, y = (...

1 year ago | 0 answers | 0

Question

How can i create a print dialog that allow user change some properties to print?

Hi every one. Now, i have a GUI. And, i want to create a print box as picture below. I thought to use push button, panel....Bu...

1 year ago | 1 answer | 0

Question

Plot data import from excel to figure use GUI ?

Hello everyone! I'm a beginer. and i want to study on GUI. Now, i want to build a GUI such as: (see picture) First, i want to...

1 year ago | 1 answer | 0

Question

Why RMS value of a periodic signal is equal to sqrt of linear spectrum divided normalized equivalent bandwidth?

Hi everyone! I'm reading a book on noise and vibration analysis. And i knew that how to calculate a RMS value of periodic s...

2 years ago | 0 answers | 0

Question

Why peak of main-lobe in spectrum of hanning window is not equal to zero?

Hi everyone! I'm trying to plot a spectrum of a hanning window. But when i have plotted it, i recognized that, peak of main-lob...

2 years ago | 0 answers | 0

Question

What is difference between utilization directly N = 1000 with N=100 but calculate FFT of rect with number of points = 1000?

|Hi everyone! I'm trying to plot a spectrum of a rectangular window function. But, i have a problem. that is, when i use N=100 ...

2 years ago | 1 answer | 0

Question

Why i can't plot a spectrum of a rectangular window function?

Hi everyone! I have a problem, so could you explain to me? I knew that, to plot a spectrum of any windows function we can use ...

2 years ago | 2 answers | 0

Answered

can someone explaing the computation for double sided and single sided spectrum in fft() example

Hi dpb. I have a problem about DC value. At code above, Fs = 1000; T = 1/Fs; L = 1500; ...

can someone explaing the computation for double sided and single sided spectrum in fft() example

Hi dpb. I have a problem about DC value. At code above, Fs = 1000; T = 1/Fs; L = 1500; ...

2 years ago | 0

Question

How can i do fast a sum of products?

Hi everyone! My problem is: I have an array of matrix 2x2, [A],[B],....[Z] (elements in the matrix are integer (or complex) nu...

2 years ago | 1 answer | 0

Question

How can i specify which subplot that i want to plot on it?

Hi everyone! Now, i want to draw an animated arrow (general is any object) and an animated line, each of them is plotted on eac...

2 years ago | 1 answer | 0

Answered

How do I do multi animated lines in one axes?

I suggest to you another approach, i think it is familiar to anyone. You can use "hold on" after "figure" And, of course, at the...

How do I do multi animated lines in one axes?

I suggest to you another approach, i think it is familiar to anyone. You can use "hold on" after "figure" And, of course, at the...

2 years ago | 0

Question

How can i draw two animated plots on each subplots at the same time?

Hi everyone! Now, i want to draw two animated plots on each subplots at the same time. You can see my code below. But, when i u...

2 years ago | 2 answers | 0

Question

How can i create a program (or app) in Matlab?

Hi everyone! Now, i want to create a programming (or exactly is app) to learn English use Matlab. And interface of it is same t...

2 years ago | 1 answer | 0

Question

How can i create a program (or app) in Matlab?

Hi everyone! Now, i want to create a programming (or exactly is app) to learn English use Matlab. And interface of it is sa...

2 years ago | 0 answers | 0

Question

How can i clear a plot that drawn in a subplot?

Hi everyone! I use subplot to draw two plots. How can i delete any plot on each subplot? Why i use clf(p1), plot on second su...

2 years ago | 1 answer | 0

Question

How can i create a group from some lines and some arrows?

Hi everyone! I have a code (see below) that will create two black lines and three arrows. So, How can i create a group from s...

2 years ago | 0 answers | 0

Question

How can i create a group consist of some lines and some arrows?

I have a code that will create two lines that has black color (from -8 to -4 and -4 to 0) and three arrow. And, i want to creat...

2 years ago | 0 answers | 0

Question

How can i create a group consist of some lines and some arrows?

I have a code that will create two lines that has black color (from -8 to -4 and -4 to 0) and three arrow. And, i want to creat...

2 years ago | 0 answers | 0

Question

How can i use "resample" command in matlab to change bandwidth of a measured signal ?

Hi everyone! Now, i'm reading a book "Noise and vibration analysis" by Anders Brandt. And in this book, the author wrote that w...

2 years ago | 0 answers | 0

Question

How can i have a integer value?

Hi everyone. I have a problem such as: I have 2 rows that is amount: 2010 12060 16080 2010 10050 1005 val: 0.025 0.01...

2 years ago | 1 answer | 0

Question

how can i using fprintf to write unit for a data?

Hi, now i trying to use fprintf to write a sentence. i want to Matlab return as below: "Max value of time is: 0.024 [s] " And...

3 years ago | 2 answers | 0

Question

How can i calculate dynamic response of structures in frequency domain?

Hi! I did an analysis dynamic response of a simple supported beam under moving load. And, i used mode superposition method in t...

3 years ago | 0 answers | 0

Question

How can i create variables from a string?

Hi! I want to create an array of variables m1,m2,m3,....,mn, that are created by join "m" with array "1,2,3,...,n" I wrote a ...

3 years ago | 1 answer | 0