what does ... do in matlab?
显示 更早的评论
I have a code that begins function [Aprojeigbnd,upperAbnd,n,Ecard,cputimeprojeigbnd,cputimeupper]=... newV0sparsetest(imax,k,densn)
I can't seem to figure out what the ... is doing, but matlab doesn't like it if it gets removed.
1 个评论
It is explained in the documentation: http://www.mathworks.com/help/matlab/matlab_prog/continue-long-statements-on-multiple-lines.html
回答(1 个)
John D'Errico
2016-6-8
0 个投票
It allows you to continue a line to the next line. Otherwise long lines will be unreadable.
Without that though to indicate a continued line, you would have line fragments that would be invalid syntax.
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!