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

1 visualizzazione (ultimi 30 giorni)
Vijay Nahar
Vijay Nahar il 29 Giu 2015
Commentato: Vijay Nahar il 29 Giu 2015
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

Risposta accettata

Thorsten
Thorsten il 29 Giu 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.

Più risposte (2)

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

Sean de Wolski
Sean de Wolski il 29 Giu 2015

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by