[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Control Toolbox

From: marshall028
Subject: Control Toolbox
Date: Thu, 25 Apr 2019 18:57:19 -0500 (CDT)

I am attempting to write a program for a bio mechanical spring system.  I
have input the matrices and given values but when it comes to using the
control toolbox in order to write step-systems, I keep running into "binary
operator '!=' not implemented for 'cell' by 'scalar' operations"

Here is what i have for code for that section of the project...
sysstep = ss(A,bstep,C,D);
sysimpulse = ss(A,bimp,C,D);
t = linspace(0,.25,1000);
[y,t,x] = step(sysstep,t);
y1 = .02*y;x1 = .02*x;
[y1,t,x1] = impulse(sysimpulse,t);
y2 = .02*y1;x2 = .02*x1; 

Any ideas as to where I am going wrong and encountering this error?

Thank you,

Sent from:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]