Azzera filtri
Azzera filtri

How generate one signale of this (in picture)

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Image Analyst
Image Analyst il 20 Lug 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');

Più risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 20 Lug 2014
This is a random signal
y=rand(1,10)
plot(y)

Categorie

Scopri di più su Signal Generation and Preprocessing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by