Filter löschen
Filter löschen

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

24 Ansichten (letzte 30 Tage)
Archit
Archit am 27 Jul. 2023
Beantwortet: Paul am 28 Jul. 2023

Antworten (1)

Paul
Paul am 28 Jul. 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 ?

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by