Réponse acceptée

Roger Stafford
Roger Stafford le 4 Août 2014
If v is the vector do:
v = v/norm(v);
(The 'norm' function gives L2 norm as a default.)

Plus de réponses (0)

Catégories

En savoir plus sur Electrical Block Libraries dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by