필터 지우기
필터 지우기

How generate one signale of this (in picture)

조회 수: 2 (최근 30일)
chikha said
chikha said 2014년 7월 20일
답변: Image Analyst 2014년 7월 20일
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

채택된 답변

Image Analyst
Image Analyst 2014년 7월 20일
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');

추가 답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2014년 7월 20일
This is a random signal
y=rand(1,10)
plot(y)

카테고리

Help CenterFile Exchange에서 Signal Generation and Preprocessing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by