when i run this code i'm getting and error stating "matrix dimensions must agree",how can i solve this error?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Y.Rahul Kumar
le 27 Sep 2018
Réponse apportée : Bish Erbas
le 27 Sep 2018
frame=y(2001:2001+fsize);
>> plot(frame);
>> plot(frame.*hamming(length(frame)));
0 commentaires
Réponse acceptée
Bish Erbas
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!