Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Vijay Nahar
Vijay Nahar am 29 Jun. 2015
Kommentiert: Vijay Nahar am 29 Jun. 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

Akzeptierte Antwort

Thorsten
Thorsten am 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.

Weitere Antworten (2)

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

Sean de Wolski
Sean de Wolski am 29 Jun. 2015

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by