|
FAQ (Frequently Asked Questions)
Category:
CDS 101/110 Fall 2004
Identifiers: H0 H1 H2 H3 H4 H5 H6 H7 H8 L0.0 L1.1 L1.2 L2.1 L2.2 L2.3 L3.1 L3.2 L4.1 L4.2 L5.1 L5.2 L6.1 L7.1 L9.1
-
Linmod is giving me all sorts of errors, and I'm getting weird things for 2a. What's wrong?
Submitted by: haomiao
Submitted on: October 23, 2004
Identifier:
H4
Before you run linmod, be sure that you have set values for all of the constants. Also, it isn't stated in the problem, but g = 9.8 m/s/s. Then, be sure you're giving linmod values of x and u to perform the linearization around, so your command should be something like:
x0 = [x1, x2, x3, x4], u0 = u;
[A, B, C, D] = linmod('model', x0, u0);
[Back to Top]
|