What is the meaning of symbol “.”in this code
Show older comments
I was watching a tutorial today on graphics, and one line of code went like this.
x = linspace(0,3); y = x.^2.*sin(x); plot(x,y);
What does the sign "."? Does it have any specific meaning?
Thank you all.
Accepted Answer
More Answers (1)
Arif Hoq
on 16 Mar 2022
0 votes
It's element wise operation. you can read this
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!