0

How to define variable for a matrix?

Example:

I want to work a matrix with two undefine variables, y and L, for example:

cos(y) sin(y) L*sin(y)

-sin(y) cos(y) -L*sin(y)

0 1 0

how define the variable y and L?

Thanks

Scilab

__Answers:__

0

Your question is not very clear. If the following does not answer your question, please give an example and explain your question: In Scilab, y and L have to be defined first before you use them on the right hand side - this is true of any variable. If this is what you really want, you may consider using OpenModelica (13 Spoken Tutorials on it are available at http://spoken-tutorial.org/tutorial-search/?search_foss=OpenModelica&search_language=English.

Login to add comment