How do I divide a row vector (1X3) by normalized scalar?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tunde Adubi
le 6 Mai 2022
Réponse apportée : KALYAN ACHARJYA
le 8 Mai 2022
Evaluate
I (30, 300)= (X - xo, Y -yo, Z- zo) / ||X -xo||
where X, Y, and Z is a matrix (30X300)
0 commentaires
Réponse acceptée
KALYAN ACHARJYA
le 8 Mai 2022
How do I divide a row vector (1X3) by normalized scalar?
You can divide it element wise.
Example:
>> vec=1:10
vec =
1 2 3 4 5 6 7 8 9 10
>> vec/3
ans =
0.3333 0.6667 1.0000 1.3333 1.6667 2.0000 2.3333 2.6667 3.0000 3.3333
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur NaNs dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!