フィルターのクリア

How to find the angle made by eigen vector and x-axis?

5 ビュー (過去 30 日間)
Suhas Yelluru
Suhas Yelluru 2014 年 5 月 5 日
コメント済み: John D'Errico 2014 年 5 月 5 日
I have used the function "eig()" to obtain eigen values and eigen vectors of a grayscale image, i now need to find the angle made by the eigen vector with respect to x-axis. Please help!
Thanks in advance!
  2 件のコメント
Geoff Hayes
Geoff Hayes 2014 年 5 月 5 日
Can't the usual method of finding the angle be used? If the vector is [x1 y1], then the angle with respect to the x-axis is atan2(y1,x1)? (Naturally this assumes an origin of (0,0) which may be different than that which is in your problem.)
John D'Errico
John D'Errico 2014 年 5 月 5 日
We don't know how you used eig in this case. For example, did you simply apply eig to a square image as an array? Show what you did, as your question is impossible to answer otherwise.

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by