Why this code gives error?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sadiq Akbar
am 16 Sep. 2021
Bearbeitet: Walter Roberson
am 21 Sep. 2021
Nc=31; N=5; M=3; K=3; tot_len=200;
array_TX =[3.5086 0 0;2.6877 2.2553 0;0.6093 3.4553 0;-1.7543 3.0385 0;-3.2970 1.2000 0;
-3.2970 -1.2000 0;-1.7543 -3.0385 0;0.6093 -3.4553 0;2.6877 -2.2553 0];
array_RX =[0.8507 0 0;0.2629 0.8090 0;-0.6882 0.5000 0;
-0.6882 -0.5000 0;0.2629 -0.8090 0];
DOA =[270 180 70 89 158 204 208 339 167].';
DOD =[40 120 150 195 223 161 75 350];
91
recvd_data = myreceived_data(Nc,N,M,K,tot_len,array_TX,DOD,array_RX,DOA);
2 Kommentare
Walter Roberson
am 16 Sep. 2021
myreceived_data is not a Mathworks function, but the problem is occurring inside it. We would need the code.
Akzeptierte Antwort
Fernando Peña
am 16 Sep. 2021
When calling the function, you are missing the variable N_bar.
5 Kommentare
Walter Roberson
am 16 Sep. 2021
Bearbeitet: Walter Roberson
am 21 Sep. 2021
Because Array_TX is not defined by that code.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Quantum Mechanics 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!