what is the difference between a vector and a matrix?
Afficher commentaires plus anciens
what is the difference between a vector and a matrix?
Réponse acceptée
Plus de réponses (4)
mntaser salem
le 24 Jan 2015
0 votes
vector is one dimension array such a=[1 2 3 4 5], but matrix is more than one dimension array such 2*2 matrix b =[ 2 4 6 8 ] , and has some of operation.
Hayden Wineck
le 11 Oct 2016
0 votes
I had the same question also, thanks for the help.
Yared Bekele
le 8 Juil 2021
0 votes
Matrix can be one dimesional or more than one, but vector is only one dimesionsl (i.e row vector, column vector). All vectors are matrix, but not all matrix are vectors.
Walter Roberson
le 8 Juil 2021
0 votes
I discus the various cases at https://www.mathworks.com/matlabcentral/answers/505251-scalar-vs-matrix-vs-vector-vs-array#answer_415372
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!