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.

 Respuesta aceptada

A Jenkins
A Jenkins el 11 de Oct. de 2013
Editada: A Jenkins el 11 de Oct. de 2013

2 votos

Más respuestas (1)

FRANCISCO JAVIER
FRANCISCO JAVIER el 11 de Oct. de 2013

0 votos

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

Categorías

Más información sobre Physics en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 11 de Oct. de 2013

Comentada:

el 11 de Oct. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by