Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

arrays and matrix in Openmodelica

arrays and matrix in Openmodelica

hi,


I want to create a matrix with (n lines and j columns) and I will extract in a specific column of the matrix as described in the code below written in MatLab
can anyone help me please?

Code:



Matrix=[1,2,3;4 5 6;7 8 9]

a=Matrix(:,2)

Edited by: Abderezakabidi - May-01-20 00:38:24
There are 0 guests and 0 other users also viewing this topic
You are here: