Respuesta aceptada

Roger Stafford
Roger Stafford el 4 de Ag. de 2014
If v is the vector do:
v = v/norm(v);
(The 'norm' function gives L2 norm as a default.)

Más respuestas (0)

Categorías

Más información sobre Electrical Block Libraries en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by