function 'step'.
Afficher commentaires plus anciens
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);
Réponses (1)
Stephan
le 21 Mar 2021
step(ss(A,B,C,D))
Catégories
En savoir plus sur Dynamic System Models dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!