./ meaning in Matlab

15 Ansichten (letzte 30 Tage)
Ali Jaber
Ali Jaber am 6 Mai 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;

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 6 Mai 2016
Bearbeitet: Azzi Abdelmalek am 6 Mai 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]

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by