How can you obtain a system time response to a ramp function in Matlab?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
3011
le 21 Oct 2015
Réponse apportée : TastyPastry
le 21 Oct 2015
I need to explain this in words and as I am new to matlab I do not know how to obtain a ramp function from a system time response via Matlab.
0 commentaires
Réponse acceptée
TastyPastry
le 21 Oct 2015
t=0:0.1:10
alpha=2
ramp=alpha*t % Your input signal
model=tf(1,[1 20 3]); % Your transfer function
[y,t]=lsim(model,ramp,t)
plot(t,y)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Dynamic System Models dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!