Effacer les filtres
Effacer les filtres

How generate one signale of this (in picture)

2 vues (au cours des 30 derniers jours)
chikha said
chikha said le 20 Juil 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

Réponse acceptée

Image Analyst
Image Analyst le 20 Juil 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');

Plus de réponses (1)

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

Catégories

En savoir plus sur Signal Generation and Preprocessing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by