How to fill a 1024 point array with two cycles of a cosine wave?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Kennard Ng
el 11 de Feb. de 2019
Comentada: Kennard Ng
el 11 de Feb. de 2019
How to fill a 1024 point array with two cycles of a cosine wave?
0 comentarios
Respuesta aceptada
Luna
el 11 de Feb. de 2019
Example:
xData = linspace(0,4*pi,1024);
yData = cos(xData);
figure;
plot(xData,yData);
0 comentarios
Ver también
Categorías
Más información sobre Language Fundamentals en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!