Name for this practice: c = x.^2

What is the practice of using the '.' in the expression "c = x.^2 " know as?
I am new to matlab and want to have a search term to use so I can further understand what exactly this is doing.

 Risposta accettata

Più risposte (1)

FRANCISCO JAVIER
FRANCISCO JAVIER il 11 Ott 2013

0 voti

If you put a vector as x, the operator "." made the operation for each value of the vector.

Categorie

Scopri di più su Physics in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by