Name for this practice: c = x.^2

2 views (last 30 days)
Edward Prentice
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.

Accepted Answer

A Jenkins
A Jenkins on 11 Oct 2013
Edited: A Jenkins on 11 Oct 2013

More Answers (1)

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

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!