what does ... do in matlab?
Show older comments
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 Comment
It is explained in the documentation: http://www.mathworks.com/help/matlab/matlab_prog/continue-long-statements-on-multiple-lines.html
Answers (1)
John D'Errico
on 8 Jun 2016
0 votes
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.
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!