the state representation of the dynamic system
    7 views (last 30 days)
  
       Show older comments
    
    belal hariz belgacem
 on 6 Jun 2019
  
    
    
    
    
    Commented: belal hariz belgacem
 on 6 Jun 2019
            state equation
                                                                   A                                                                B 

exit equation
                             C

K=2; K1=0.5; L=0.02; R=2; J=0.0005; f=0.00008; Cr =20 N.m

0 Comments
Accepted Answer
  Priysha Aggarwal
      
 on 6 Jun 2019
        Error is in line 8
x = A*x + B*U
To be able to multiply A with x, you need to predefine x. You cannot initiate a variable x with an equation which already has x in it.
Solution :
x = 1 %replace 1 by whatever initial value of x is required
x = A*x + B*U
More Answers (1)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

