vineetloya

15 Reputation

4 Badges

12 years, 64 days

MaplePrimes Activity


These are replies submitted by vineetloya

@acer Hey Acer, thanks for the comments, please note that both scripts are in maple and I am reading script1 and script2 from maple. As I said, all I am doing is copying script1 and pasting on script2(script1 and script2 have same algorithm) and running it. Script1 works but script2 doesn't. This is true only for user defined function(not in built maple function). Also, script1 and script2 is saved in a same folder and the user function(.mla) is saved in the librarytools(maple folder). I hope this clarifies what I am doing.

Thanks again!

Vin

Hey Joe,

Thank you, also, do you know how to extract affine terms from a differential equation after linearization?

Vanderpol Eqn:

diff(x[1](t),t)=x[2](t)

diff(x[2](t),t)=(1-x[1](t)^2)*x[2](t)-x[1](t)

 
To be precise, I linearized a vanderpol equation at a linear point (without giving equilibrium point), the solution obtained was in differential form. I want to get the output in terms of matrices including affine term.
Please note that, I got the statespace of the above eqn by adding 'checkpoint=false' as an optional input to 'linearize' but the solution does not contain the affine term. Is there any way I can get an affine(const) term from the statespace or get the output linear matrices from the differential eqn form?

I appreciate your help!
Hey Joe,

Thank you, also, do you know how to extract affine terms from a differential equation after linearization?

Vanderpol Eqn:

diff(x[1](t),t)=x[2](t)

diff(x[2](t),t)=(1-x[1](t)^2)*x[2](t)-x[1](t)

 
To be precise, I linearized a vanderpol equation at a linear point (without giving equilibrium point), the solution obtained was in differential form. I want to get the output in terms of matrices including affine term.
Please note that, I got the statespace of the above eqn by adding 'checkpoint=false' as an optional input to 'linearize' but the solution does not contain the affine term. Is there any way I can get an affine(const) term from the statespace or get the output linear matrices from the differential eqn form?

I appreciate your help!
Page 1 of 1