what is the difference between a vector and a matrix?
    72 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    JohnS
 am 24 Jan. 2015
  
    
    
    
    
    Beantwortet: Walter Roberson
      
      
 am 8 Jul. 2021
            what is the difference between a vector and a matrix?
0 Kommentare
Akzeptierte Antwort
  Matz Johansson Bergström
      
 am 24 Jan. 2015
        
      Bearbeitet: Matz Johansson Bergström
      
 am 24 Jan. 2015
  
      A matrix is simply a rectangular array of numbers and a vector is a row (or column) of a matrix.
2 Kommentare
  per isakson
      
      
 am 24 Jan. 2015
				The wiki link says "Bad title"
  Matz Johansson Bergström
      
 am 24 Jan. 2015
				Well spotted. The parentheses in the wiki URL was coded wrong. Fixed it now.
Weitere Antworten (4)
  mntaser salem
 am 24 Jan. 2015
        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.
2 Kommentare
  Yared Bekele
 am 8 Jul. 2021
        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.
0 Kommentare
  Walter Roberson
      
      
 am 8 Jul. 2021
        I discus the various cases at https://www.mathworks.com/matlabcentral/answers/505251-scalar-vs-matrix-vs-vector-vs-array#answer_415372
0 Kommentare
Siehe auch
Kategorien
				Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!