MATLAB: What is a vector?or what are vector coordinates

urgentvector

Hellow sir,Can any one tell me what is a vector in matlab(or vector coordinates).Can u please explain me with a small example taking any function.??its urgent sir..plz help..!!

Best Answer

A vector in MATLAB is any kind of 1xn or nx1 matrix like
a=[1 2 3]
I have no idea what vector coordinates are, maybe indices? Like
a(2)
returns element number 2?