how to generate ramp signals at different sampling frequencies.
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
how to generate ramp signals at different sampling frequencies.
0 comentarios
Respuestas (1)
Voss
el 25 de En. de 2022
fs1 = 10; % sampling frequency 10 Hz (very low, so the individual samples can be seen in the plot)
t1 = -1:1/fs1:1;
r1 = t1.*(t1 >= 0);
fs2 = 5; % sampling frequency 5 Hz
t2 = -1:1/fs2:1;
r2 = t2.*(t2 >= 0);
figure
plot(t1,r1,'o',t2,r2,'x')
0 comentarios
Ver también
Categorías
Más información sobre Waveform Generation 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!