Arithmetic in Matlab

2 次查看(过去 30 天)
Cillian
Cillian 2012-5-3
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

回答(2 个)

per isakson
per isakson 2012-5-3
Search for "Arithmetic Operators" in the online help

Daniel Shub
Daniel Shub 2012-5-3

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by