Why does adding a space give vertcat error?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
G A
2021 年 10 月 10 日
with a space, [1;1 +1] is interpreted as [1;1, +1]. [1;(1 +1)] will be OK.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!