rotation metrics by an angle theta

3 ビュー (過去 30 日間)
Tomer Segev
Tomer Segev 2024 年 1 月 5 日
コメント済み: Dyuman Joshi 2024 年 1 月 7 日
Hey all ,
I am calculating elemnts of matrix whos size are (X,Y) and after i calculate the elemnets, i want to rotate the matrix by an angle of theta.
For example:
x=linspace(-x1,x1,n);
Unrecognized function or variable 'x1'.
y=linspace(-x1,x1,n);
for i=1:length(x)
for j=1:length(y)
H=some_matrix_that_i_create;
E(x,y,:)=eig(H);
end
end
So my quesion is how can I rotate the matrix E(:,:,n)? Is there anyway to rotate the whole E?
Thanks a lot in advance!
  3 件のコメント
Tomer Segev
Tomer Segev 2024 年 1 月 7 日
I uploaded an two files that looks the same, except the fact that they are rotated pi/4 with respect to one another. What I want to do is to rotate the matrix that presents their data so that they will be the same again (and not rotated with pi/4)
Dyuman Joshi
Dyuman Joshi 2024 年 1 月 7 日
These seem like streamline plots. Note that rotating matrices is not equal to rotating plots.
Nor do they seem to be rotated w.r.t. each other at pi/4. The center portion/blobs of the plots might seem so, but the rest of the plots do not follow the mentioned rotation.

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

回答 (1 件)

Torsten
Torsten 2024 年 1 月 5 日
移動済み: Torsten 2024 年 1 月 5 日
I can imagine what it means to rotate a matrix by an angle of 90, 180 or 270 degrees:
Is that sufficient for what you want ?
  1 件のコメント
Tomer Segev
Tomer Segev 2024 年 1 月 7 日
Hey,
No.. I need control over the angle

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

カテゴリ

Help Center および File Exchange3-D Scene Control についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by