./ meaning in Matlab

25 visualizzazioni (ultimi 30 giorni)
Ali Jaber
Ali Jaber il 6 Mag 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;

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 6 Mag 2016
Modificato: Azzi Abdelmalek il 6 Mag 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]

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by