How we can do the matrix and vector in vector form?
    4 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Vims
 am 13 Dez. 2023
  
    
    
    
    
    Bearbeitet: Dyuman Joshi
      
      
 am 13 Dez. 2023
            clc;
clear all ;
 close all;
 format long g;
 %% developing the function for the reverse in the vector concate and reverse it
 A = [1;2;3]
 B = [4 5 6;8 9 11]
[numRows,numCols] = size(B)
 %% new vector will be vector form 
 C = vertcat(A,[B])
3 Kommentare
Akzeptierte Antwort
Weitere Antworten (2)
  Dyuman Joshi
      
      
 am 13 Dez. 2023
        3 Kommentare
  Dyuman Joshi
      
      
 am 13 Dez. 2023
				
      Bearbeitet: Dyuman Joshi
      
      
 am 13 Dez. 2023
  
			That's a good start.
Now, use indexing to split the data, and reverse the steps of method 1.
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!



