Clear Filters
Clear Filters

Dots!, Dots!, Dots! What are they doing!?

2 views (last 30 days)
Can some one explain to me what the 'dots', in the equation below, signify? What kind of mathematical operator do they represent?
A(th+91,ph+1,:) = ...
reshape(exp(2*(0+1i)*pi/lambda*sind(th)* ...
(B(:,1)*cosd(ph) + C(:,2)*sind(ph))),...
[1 1 32]);
Thanks
Vijay

Accepted Answer

Thorsten
Thorsten on 29 Jun 2015
help punct
gives you
... Continuation. Three or more periods at the end of a line continue
the current command or function call onto the next line. Three or
more periods before the end of a line cause MATLAB to ignore the
remaining text on the current line and continue the command or
function call onto the next line. This effectively makes a comment
out of anything on the current line that follows the periods.

More Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 29 Jun 2015
When your expression is too long, you can write it in multiple lines

Sean de Wolski
Sean de Wolski on 29 Jun 2015

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!