## 15 Reputation

11 years, 315 days

## @acer Hey Acer, thanks for the comments,...

@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

## Thank you...

`Hey Joe,`
`Thank you, also, do you know how to extract affine terms from a differential equation after linearization?`
`Vanderpol Eqn:`

` `
`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!`

## Thank you...

`Hey Joe,`
`Thank you, also, do you know how to extract affine terms from a differential equation after linearization?`
`Vanderpol Eqn:`

` `
`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
﻿