Effacer les filtres
Effacer les filtres

Incorrect number or types of inputs or outputs for function 'step'

87 vues (au cours des 30 derniers jours)
Archit
Archit le 27 Juil 2023
Réponse apportée : Paul le 28 Juil 2023

Réponses (1)

Paul
Paul le 28 Juil 2023
Hi Archit,
It would be much easier to help if you copy/paste the actual code into the Question rather than a large screen capture.
In any case, even though that usage of step is obsolete it should still work as shown below.
num = 1; den = [1 2*.7*1 1];
t = 0:.01:1;
y = step(num,den,t);
which -all step(num,den,t)
/MATLAB/toolbox/control/ctrlobsolete/step.m
What result do you get if you run the code shown above with the num, den, and t as defined above?
What result do you get from just the 'which' command with your specific values of num, den, and t ?

Catégories

En savoir plus sur Entering Commands 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!

Translated by