matlab matrix index
A = [16 5 9; 4 2 11; 7 14 9]; % Create matrix
A(2,3) % Extract the element in row 2, column 3
ans = 11
A(1:2,2:3) % Extract elements in rows 1 and 2, and columns 2 and 3
ans = 5 9
2 11
matlab matrix index
A = [16 5 9; 4 2 11; 7 14 9]; % Create matrix
A(2,3) % Extract the element in row 2, column 3
ans = 11
A(1:2,2:3) % Extract elements in rows 1 and 2, and columns 2 and 3
ans = 5 9
2 11
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us