Difference between () and ([])
显示 更早的评论
回答(1 个)
KSSV
2017-12-26
0 个投票
I don't think it makes any difference...both the cases you will get a random matrix of size 4X10...in fact [4,10] this needs a bit of more typing.
3 个评论
Prabha Kumaresan
2017-12-26
编辑:Walter Roberson
2017-12-26
Walter Roberson
2017-12-26
There is a very small difference in the time it takes to parse the arguments. There is no difference in the functionality.
Prabha Kumaresan
2017-12-26
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!