there is error in x1(t)
Mostrar comentarios más antiguos
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');
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Code Performance en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
