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

4 vues (au cours des 30 derniers jours)
Vijay Nahar
Vijay Nahar le 29 Juin 2015
Commenté : Vijay Nahar le 29 Juin 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

Réponse acceptée

Thorsten
Thorsten le 29 Juin 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.
  1 commentaire
Vijay Nahar
Vijay Nahar le 29 Juin 2015
Got it! Thanks!

Connectez-vous pour commenter.

Plus de réponses (2)

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

Sean de Wolski
Sean de Wolski le 29 Juin 2015

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by