What's the differene between [a,b] and [a b] in matlab?
Mostra commenti meno recenti
For arrays in matlab, is there a difference between an array with comma and one without?
1 Commento
Stephen23
il 9 Gen 2022
There is a very important difference:
- a comma clearly shows the intent.
- a space is unclear and liable to bugs (i.e. unary operators vs binary operators).
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Matrix Indexing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!