MATLAB Answers

0

Name for this practice: c = x.^2

Asked by Edward Prentice on 11 Oct 2013
Latest activity Commented on by 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

Sign in to comment.

Tags

2 Answers

Answer by A Jenkins
on 11 Oct 2013
Edited by A Jenkins
on 11 Oct 2013
 Accepted Answer

  1 Comment

Perfect, many thanks.

Sign in to comment.


Answer by 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

Sign in to comment.