resolve in matlab please
Mostrar comentarios más antiguos
i am new in matlab and i don't have any idea about it. the professor gave us this. really i don't understand. :(
arryf A , s=cosAt+cos3t
define a sum of cosine waves"number of waves is the last number in your credit book. with different frequency en Hz.
2. build it's plot in time domain.
3. build the plot of it's magnitude spectrum
2 comentarios
Walter Roberson
el 12 de Abr. de 2018
I do not know what "arryf A" is intended to mean?
Abdelrazzak rifai
el 12 de Abr. de 2018
Editada: Walter Roberson
el 12 de Abr. de 2018
Respuestas (1)
Walter Roberson
el 12 de Abr. de 2018
number_of_samples = 1025;
wave = 0;
for wavenum = 1 : 8 %presuming your last number is 8
wave = wave + generate_sinewave(wavenum * 83, number_of_samples); %83 Hz apart
end
You would need to write generate_sinewave()
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!