Borrar filtros
Borrar filtros

How generate one signale of this (in picture)

2 visualizaciones (últimos 30 días)
chikha said
chikha said el 20 de Jul. de 2014
Respondida: Image Analyst el 20 de Jul. de 2014
hi how are you? please i want to generate one of this four signale ploting in the picture attached. I know how genrate the signale lik sin, cos, sawtooth,...,etc but this signale i don't know how! please help me or tell me how i can genrete it. thank's in advance

Respuesta aceptada

Image Analyst
Image Analyst el 20 de Jul. de 2014
Pick one of the four signals, say vt1, and assume you have the time values in an array called t. Then plot it:
plot(t, Vt1, 'y-', 'LineWidth', 2);
ylabel('Vt1 (m/sec)', 'FontSize', 16);
xlabel('Time (s)', 'FontSize', 16);
If you want the others, do
hold on;
plot(t, Vt2, 'r-', 'LineWidth', 2);
plot(t, Vt3, 'k-', 'LineWidth', 2);
plot(t, Vt4, 'b-', 'LineWidth', 2);
ylabel('Vt1, Vt2, Vt3 and Vt4 (m/sec)', 'FontSize', 16);
xlabel('Time (s)', 'FontSize', 16);
legend('Vt1', Vt2', 'Vt3', 'Vt4');

Más respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 20 de Jul. de 2014
This is a random signal
y=rand(1,10)
plot(y)

Categorías

Más información sobre Signal Generation and Preprocessing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by