when i run this code i'm getting and error stating "matrix dimensions must agree",how can i solve this error?
    5 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Y.Rahul Kumar
 am 27 Sep. 2018
  
    
    
    
    
    Beantwortet: Bish Erbas
      
 am 27 Sep. 2018
             frame=y(2001:2001+fsize);
>> plot(frame);
>> plot(frame.*hamming(length(frame)));
0 Kommentare
Akzeptierte Antwort
  Bish Erbas
      
 am 27 Sep. 2018
        Add transpose to first line:
frame=y(2001:2001+fsize)';
Element-by-element multiplication works only if both vectors are horizontal/vertical.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Creating and Concatenating Matrices 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!

