Why can't I use crand() in matlab
Afficher commentaires plus anciens
It is supposed to generate a complex random number, and it worked on my friend's PC, but not mine.
Réponse acceptée
Plus de réponses (1)
Bobby Cheng
le 30 Juin 2025
Modifié(e) : Steven Lord
le 30 Juin 2025
0 votes
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.]
Catégories
En savoir plus sur R Language dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!