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
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!