- #1
gfd43tg
Gold Member
- 950
- 50
Homework Statement
Homework Equations
The Attempt at a Solution
Hello,
I am having some confusion over the notation used in matlab. I don't really know what they mean
Code:
A = [1:3; 4:6; 7:9]
A =
1 2 3
4 5 6
7 8 9
Code:
A(1:2, 1:2)
ans =
1 2
4 5
Code:
A([3, 1], [3, 1])
ans =
9 7
3 1
Attachments
Last edited: