./ meaning in Matlab

28 views (last 30 days)
Ali Jaber
Ali Jaber on 6 May 2016
Edited: Azzi Abdelmalek on 6 May 2016
Please can you tell me what is the meaning of this operator: ./ I want to use it here: precision = (1:num_relevant_images) ./ locations_sorted;

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 6 May 2016
Edited: Azzi Abdelmalek on 6 May 2016
[1 2 3]./[10 20 30]
The result is
[1/20 2/20 3/30]
You can also do the element wise multiplication
[1 2 3].*[10 20 30]

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!