MATLAB Answers

How can I add angular noise to my vector?

2 ビュー (過去 30 日間)
JAEWOO KIM
JAEWOO KIM 2021 年 4 月 9 日
回答済み: KSSV 2021 年 4 月 9 日
For example, there is an unit vector X
X = [p q r]; % norm(X) = 1
And what I wanna do is to make some vectors which have the contained angle with X less than certain degree. Additionally, I want them to be distributed normally. How can I do this?

回答 (1 件)

KSSV
KSSV 2021 年 4 月 9 日
Read about rand.
X = X+rand(size(X)) ;

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by