Name for this practice: c = x.^2
1 view (last 30 days)
Show older comments
Edward Prentice
on 11 Oct 2013
Commented: Edward Prentice
on 11 Oct 2013
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.
0 Comments
Accepted Answer
More Answers (1)
FRANCISCO JAVIER
on 11 Oct 2013
If you put a vector as x, the operator "." made the operation for each value of the vector.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!