Arithmetic in Matlab

5 views (last 30 days)
Cillian
Cillian on 3 May 2012
Hello.
This is a very simple question, and perhaps very basic, but I just want to make it clear for me.
When do I use .^ and ^ ? or in Multiplication: .* and * ? or division: ./ or / ?
By the way, what is the different between this sign ' \ ' and this ' / '
I want to know the different and when I should use it in different situations.
Some examples would be nice.
Regards Cillian

Answers (2)

per isakson
per isakson on 3 May 2012
Search for "Arithmetic Operators" in the online help

Daniel Shub
Daniel Shub on 3 May 2012

Community Treasure Hunt

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

Start Hunting!