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):
์กฐํ ์: 7 (์ต๊ทผ 30์ผ)
์ด์ ๋๊ธ ํ์
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')
๋๊ธ ์: 0
๋ต๋ณ (1๊ฐ)
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 Exchange์์ Startup and Shutdown์ ๋ํด ์์ธํ ์์๋ณด๊ธฐ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!