Hey guys I'm new to MAT LAB.
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
PAUL
el 21 de Mzo. de 2014
Editada: Image Analyst
el 23 de Mzo. de 2014
How to design t
0 comentarios
Respuesta aceptada
Carlos
el 21 de Mzo. de 2014
The way signals are generated here http://www.mathworks.es/es/help/matlab/ref/fft.html is what you are looking for.The only parameter to change is the frequency. In your case your frequencies are 0.05 and 0.15 Hz.
Fs = 1000; % Sampling frequency
T = 1/Fs; % Sample time
L = 1000; % Length of signal
t = (0:L-1)*T; % Time vector
% Sum of a 0.05 Hz sinusoid and a 0.15 Hz sinusoid
x = sin(2*pi*0.05*t) + sin(2*pi*0.15*t);
plot(t,x);
1 comentario
Image Analyst
el 23 de Mzo. de 2014
Editada: Image Analyst
el 23 de Mzo. de 2014
Paul !!! Did you not read your other post before you posted this? Please read http://www.mathworks.com/matlabcentral/answers/122729#comment_203688 And why is your original post clipped!???
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!