フィルターのクリア

Starting with the ramp signal r(t) and unit step signal u(t) given below, please write the codes to plot the following transformed versions (a-f):

20 ビュー (過去 30 日間)
Azeem
Azeem 2024 年 2 月 18 日
コメント済み: Azeem 2024 年 2 月 18 日
Starting with the ramp signal 𝑟(𝑡) and unit step signal 𝑢(𝑡) given below, please write the codes to plot the following transformed versions (a to f): (18 points)
t=-10:10;
plot(t,t);
grid on
xlabel('Samples')
ylabel('Amplitude')
title('Ramp')

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2024 年 2 月 18 日
t=-10:10;
figure
plot(t,t);
grid on
xlabel('Samples')
ylabel('Amplitude')
title('Ramp')
figure
t2=[zeros(1,100), ones(1,100)];
t1=linspace(-10,10, numel(t2));
plot(t1,t2);
grid on
xlabel('Samples')
ylabel('Amplitude')
title('Unit Step')
% Continue in this way ....

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by