function 'step'.
Show older comments
I am trying to use 'step' and I get the error 'Check for missing argument or incorrect argument data type in call to function 'step'.
The code I use:
%Definir os parâmetros
m = 1 ; %kg
b = 1 ; %kg/s
k = 1 ; %N/m
%Definir as matrizes/vetores da Representação em Espaço de Estados
% Matriz A (Matriz de Estados)
A = [ [ 0 1 ] ; ...
[ -k/m -b/m ] ] ;
% Matriz B (Matriz de Entrada)
B = [ 0 ; 1/m ] ;
%Matriz C (Matriz de Saída)
C = [ 1 0 ];
% Matriz D (Matriz de Transição Direta)
D = [ 0 ];
step(A,B,C,D);
Answers (1)
Stephan
on 21 Mar 2021
step(ss(A,B,C,D))
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!