when i run this code i'm getting and error stating "matrix dimensions must agree",how can i solve this error?

1 ビュー (過去 30 日間)
Y.Rahul Kumar
Y.Rahul Kumar 2018 年 9 月 27 日
回答済み: Bish Erbas 2018 年 9 月 27 日
frame=y(2001:2001+fsize);
>> plot(frame);
>> plot(frame.*hamming(length(frame)));

採用された回答

Bish Erbas
Bish Erbas 2018 年 9 月 27 日
Add transpose to first line:
frame=y(2001:2001+fsize)';
Element-by-element multiplication works only if both vectors are horizontal/vertical.

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by