there is error in x1(t)
이전 댓글 표시
clear all
close all
clc
syms u(t) r(t) x(t) t0
u(t)=piecewise(t<t0, 0, t>=t0, 1);
t=0:1/50:10;
x1(t)=2*u(t-1)-2*u(t-3);
x1=subs(x1,{t0,t},{0,t});
plot(t,x1,'r')
hold on
r(t)=piecewise(t<t0, 0, t>=t0, t-t0);
x2=r(t-(11/3))-2*r(t-(13/3));
plot(t,x2,'b');
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Code Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
