Order of operation using ./

2 views (last 30 days)
Abhinav Agrawal
Abhinav Agrawal on 22 Jun 2022
Answered: Walter Roberson on 22 Jun 2022
What would be the order of operation if we use the follwing:
A./B./C
Will (A./B) executed first followed by .C or will (B./C) will be operated first followed by A./(B./C)?

Answers (1)

Walter Roberson
Walter Roberson on 22 Jun 2022
The order of operations is always left to right at the same precedence except for obscure behaviour for (^-), (.^-), (^+), (.^+), (^~), and (.^~)

Categories

Find more on MATLAB 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!