./ meaning in Matlab

26 vues (au cours des 30 derniers jours)
Ali Jaber
Ali Jaber le 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;

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 6 Mai 2016
Modifié(e) : Azzi Abdelmalek le 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]

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by