How to set risetime thresholds in stepinfo function
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi there,
i am measuing the performance of a control system and using the function 'stepinfo' to do so. On the documentation, it says that the default threshold for the risetime is 10%-90%, but it can be changed. I have tried many different ways and cant find out actually how to change these values. i am trying to set them from 0%-100% which the documentation says is possible.
Any ideas?
0 commentaires
Réponse acceptée
Star Strider
le 6 Avr 2023
Try something like this —
sys = tf([1 5 5],[1 1.65 5 6.5 2]);
step(sys)
si = stepinfo(sys, 'RiseTimeThreshold',[0 1])
This is illustrated in the documentation, however not well documented in the Input Argmuments section.
.
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with Control System Toolbox 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!