Why can't I use crand() in matlab
Ältere Kommentare anzeigen
It is supposed to generate a complex random number, and it worked on my friend's PC, but not mine.
Akzeptierte Antwort
Weitere Antworten (1)
Bobby Cheng
am 30 Jun. 2025
Bearbeitet: Steven Lord
am 30 Jun. 2025
0 Stimmen
rand in MATLAB has complex support since R2022a. See the "Random Complex Numbers" example on that documentation page.
[SL: hyperlinked the function name and added mention of the example.]
Kategorien
Mehr zu R Language finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!