# Pre-recorded question

Question #182
How to compute the unit vector of a MATLAB vector?
Merged questions

Given a MATLAB vector ﻿﻿ , the associated unit vector can be computed by dividing the vector by it norm ﻿﻿ :

>> v=[3,4,6];
>> v/norm(v)

ans =

0.3841    0.5121    0.7682

3 events in history
Answer by Alphonsio 09/17/2020 at 12:43:27 PM

Given a MATLAB vector ﻿﻿ , the associated unit vector can be computed by dividing the vector by it norm ﻿﻿ :

>> v=[3,4,6];
>> v/norm(v)

ans =

0.3841    0.5121    0.7682

Answer by Alphonsio 09/17/2020 at 12:43:19 PM

Given a MATLAB vector ﻿﻿ , the associated unit vector can be computed by dividing the vector by it norm ﻿﻿ :

>> v=[3,4,6];
>> v/norm(v)

ans =

0.3841    0.5121    0.7682

Question by Alphonsio 09/17/2020 at 12:38:53 PM
How to compute the unit vector of a MATLAB vector?

Icons proudly provided by Friconix.