Borrar filtros
Borrar filtros

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

24 visualizaciones (últimos 30 días)
Archit
Archit el 27 de Jul. de 2023
Respondida: Paul el 28 de Jul. de 2023

Respuestas (1)

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

Categorías

Más información sobre Entering Commands en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by