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.

更多回答(1 个)

FRANCISCO JAVIER
FRANCISCO JAVIER 2013-10-11

0 个投票

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

类别

帮助中心File Exchange 中查找有关 Physics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by