MATLAB Answers

Info

This question is closed.

the state representation of the dynamic system

1 view (last 30 days)
belal hariz belgacem
belal hariz belgacem on 6 Jun 2019
Closed: Walter Roberson on 6 Jun 2019
clear all
clc
k=2; k1=0.5; L=0.02;
R=2; J=0.0005; f=0.00008;Cr=20;
A=[-f/J k1/J;(-k-k1)/L -R/L];
B=[0 -1/f;k/L 0];
C=[1 0;0 1];
x=[1;1];
D=[0];
t=0:0.1:7;
[x,y]= lsim(A,B,C,D,);
Error using lsim (line 105)
Wrong number of input arguments.
Error in Untitled (line 11)
[x,y]= lsim(A,B,C,D,t);

  1 Comment

Walter Roberson
Walter Roberson on 6 Jun 2019
Duplicates https://www.mathworks.com/matlabcentral/answers/465894-the-state-representation-of-the-dynamic-system

Answers (0)

Sign in to answer this question.


Translated by