Assignment has more non-singleton rhs dimensions than non-singleton subscripts

10 ビュー (過去 30 日間)
Tyas Sisya Anindita
Tyas Sisya Anindita 2020 年 5 月 3 日
回答済み: Image Analyst 2020 年 5 月 3 日
I have an error with this code please help me
Assignment has more non-singleton rhs dimensions than non-singleton subscripts
Error in Paper>gen_channel (line 260)
Rfm1(i,:) = rayleigh_fade_func(n,v);
Error in Paper (line 12)
[Rfc, Rfc_whole, Rfc_a]= gen_channel(K,n,M,v,k);

回答 (1 件)

Image Analyst
Image Analyst 2020 年 5 月 3 日
Usually when I see that error, the solution is to use the squeeze() function.

カテゴリ

Help Center および File ExchangeShifting and Sorting Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by