Please check if my work is correct

2 views (last 30 days)
Rama a
Rama a on 4 Jun 2021
Edited: Image Analyst on 4 Jun 2021
Its my first time using matlab , so please tell me what I'm doing wrong here :
A. x (t)=π[(t -3)/A ]+π[(t -C) /B]
A = 3, B = 4 and C = 4.
A. x (t)=π[(t -3)/3 ]+π[(t -4) /4]
syms X t;
y1 =rectangularPulse(2,5,t); %pi(t-3\3)
y2 =rectangularPulse(2,6,t); %pi(t-4\4)
x=y1+y2;
subplot(2,2,2); %to make (2*2)figure
ezplot(x,[0 20 0 10]); %to plots the signal
title('X2(t) = π( ( t-3 ) /3 )+ π( ( t-4) /4 ) '); %to make title for figure
xlabel('t');
ylabel('X(t)');
grid on;

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by