Question

Could someone please demonstrate how to input a matrix manual in Julia?

Code might act like like:

pseudo>(9 3 2, 3 2 1)

9 3 2
3 2 1
Was it helpful?

Solution

The typical MATLAB syntax.

julia> [9 3 2; 3 2 1]
2x3 Array{Int64,2}:
9  3  2
3  2  1
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top