dot in an expression
1 view (last 30 days)
Show older comments
Hi guys. What does the dot in sinc(x) = sin(x)./x do? Remove a singularity or what?
0 Comments
Answers (1)
David Fletcher
on 15 Apr 2021
Edited: David Fletcher
on 15 Apr 2021
Element by element division
5 Comments
Adam Danz
on 15 Apr 2021
Edited: Adam Danz
on 15 Apr 2021
Compare the following
x = magic(3)
sin(x)/x % matrix division
sin(x)./x % element-wise division
Additional reference: https://www.mathworks.com/help/matlab/matlab_prog/array-vs-matrix-operations.html
See Also
Categories
Find more on Interpolation of 2-D Selections in 3-D Grids 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!