Réponse apportée
The relation between fft(x,8)/8 and fft(x,4)/4
Maybe you mean the Dirichlet conditions? These are necessary for a function to have a Fourier Transform. Check the following lin...

plus de 13 ans il y a | 0

Réponse apportée
Break point in parfor loop
Quan Quach has an excellent tutorial regarding this issue. I think < http://blinkdagger.com/matlab/matlab-gui-tutorial-how-to-...

plus de 13 ans il y a | 0

Réponse apportée
The relation between fft(x,8)/8 and fft(x,4)/4
OK, I suggest doing a quick plot: figure(1); plot(x); figure(2); hold('on'); plot(abs(x1), 'b'); plot(ab...

plus de 13 ans il y a | 0

Réponse apportée
how to add harmonics to a sine wave ?
Mmm, actually is very easy. Just add them to the original signal: % Sampling fs = 1000; % Sampling rate [Hz] Ts =...

plus de 13 ans il y a | 12

| A accepté

Réponse apportée
how to share data between callback functions in a GUI
When you wish to have variables that have an scope (that means that are "visible") in all functions of the GUI, you should store...

plus de 13 ans il y a | 16

| A accepté

Réponse apportée
Median filter
To understand the medial filter, maybe it is better if we start in 1D. Let's suppose the following array: a = [3 2 1 6 5...

plus de 13 ans il y a | 4

| A accepté

Réponse apportée
MATLAB background imshow image.
I have tested the following code and it works. Add it to your own. % In the pushbutton3 callback handles.output = hObj...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
figure won't come up after using plot
You could try: x = 1:1 0; y = 3*x; gcf; plot(x,y); Give it a try ;-) !

plus de 13 ans il y a | 0

Réponse apportée
How to find the max, the min, and the mid value without using built-in functions?
I suppose you just put the two pieces of code together, which won't work, because the first one is to get the mid value _with_ a...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
regarding conversion of time domain data to frequency domain having large values like 4096
Well, it all depends on what you want. At first glance, I suppose using all 4096 values will be correct: % Suppose you have...

plus de 13 ans il y a | 0

Réponse apportée
figure won't come up after using plot
Have you tried opening a figure "by hand"? noFigure = 1; figure(noFigure); x = 1:10; y = 3*x; plot(x,y); Hop...

plus de 13 ans il y a | 0

Réponse apportée
How do I write the code for a RC (Raised Cosine) filter?
I suggest you to use MATLAB's Filter Design and Analysis Tool. Just type in the console fdatool You can select the fil...

plus de 13 ans il y a | 1

Réponse apportée
How to attach/call a different gui in the main gui -when the user click on menu options
Quan Quach has an excellent tutorial regarding this issue <http://blinkdagger.com/matlab/matlab-gui-using-a-sub-gui-to-manage-se...

plus de 13 ans il y a | 0

Réponse apportée
Sine with variable frequency
I suggest you to check the function chirp help chirp I think this is exactly what you need. Hope it helps ;-) !

plus de 13 ans il y a | 0

Réponse apportée
Butterworth filter: Use and domain types.
# Yes, you can do this in time domain. If you want a further, deeper, analysis, you would need to do a frequency domain analysis...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Polyfitting warning
Mmm, there is a cheap way: try % The code with the polyfit function goes here catch end However I really rec...

plus de 13 ans il y a | 0

Réponse apportée
zero fill
You can try something like this: oldMatrix = ones(42,52); % The original matrix newMatrix = zeros(42,60); % The new mat...

plus de 13 ans il y a | 6

| A accepté

Réponse apportée
Help me with tables and popup menu!!
In the popup menu callback, you should include something like this: handles.output = hObject; noRows = get(handles.p...

plus de 13 ans il y a | 1

Réponse apportée
plotting in gui
Have you tried using axes? axes(mydata.axes_row11); plot(1,1); axes(mydata.axes_row12); plot(1,2); Hope...

plus de 13 ans il y a | 0

Réponse apportée
GUI Creation
You can use an "Input Dialog Box" with the function inputdlg. For example, suppose you want a dialog box with two questions a...

plus de 13 ans il y a | 0

Réponse apportée
For and Break ; in Guide
Hello, Quan Quach has an excellent tutorial regarding this issue. I this this is just what you need: http://blinkdagger.c...

plus de 13 ans il y a | 1

| A accepté