Ask your own question, for FREE!
Mathematics 9 Online
OpenStudy (anonymous):

Easy MATLAB question... (I will give medal) In the following, assume that the MATLAB variable x is defined by: x = [1 -1 3 2; 0 -3 -2 4] What are the values of each of the following MATLAB expressions? x(5)

ganeshie8 (ganeshie8):

OpenStudy (ybarrap):

Matlab Online show x(5) = 3: http://www.compileonline.com/execute_matlab_online.php

OpenStudy (anonymous):

Does anyone know why?

OpenStudy (anonymous):

MATLAB seems to be looking for the fifth what?

ganeshie8 (ganeshie8):

ive no clue :(

ganeshie8 (ganeshie8):

@ybarrap

OpenStudy (anonymous):

MATLAB number matrix's elements columnar.. so element 1 is 1 element 0 is 2 element -1 is 3 and so on.. element 3 is 5

OpenStudy (anonymous):

Ahhh...So is it looking for the fifth element?

ganeshie8 (ganeshie8):

that makes sense

ganeshie8 (ganeshie8):

x(6) = -2

OpenStudy (anonymous):

yes that's right

OpenStudy (anonymous):

THANK YOU!!!

OpenStudy (anonymous):

your welcome

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!