Why does adding a space give vertcat error?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Although this works as expected
[1;1+1]
Inserting a space gives vertcat error for some reason
[1;1 +1]
Why does this occur?
0 Commenti
Risposta accettata
G A
il 10 Ott 2021
with a space, [1;1 +1] is interpreted as [1;1, +1]. [1;(1 +1)] will be OK.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrices and Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!