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

10 vues (au cours des 30 derniers jours)
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);

Réponses (1)

Image Analyst
Image Analyst le 3 Mai 2020
Usually when I see that error, the solution is to use the squeeze() function.

Catégories

En savoir plus sur Shifting and Sorting 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!

Translated by