Explain this expressions

Status
Not open for further replies.

PCB Designers

Member level 3
Joined
Dec 17, 2009
Messages
65
Helped
6
Reputation
12
Reaction score
8
Trophy points
1,288
Location
Karachi, Pakistan
Activity points
1,699
Please explain this.

if
x = [1 2 3 ; 4 5 6]

and
y=x(2:-1:1, 3:-1:1)

then
y=[6 5 4 ; 3 2 1]

Please explain, how this works
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…