Name for this practice: c = x.^2

1 次查看(过去 30 天)
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.

采纳的回答

A Jenkins
A Jenkins 2013-10-11
编辑:A Jenkins 2013-10-11

更多回答(1 个)

FRANCISCO JAVIER
FRANCISCO JAVIER 2013-10-11
If you put a vector as x, the operator "." made the operation for each value of the vector.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by