rotation metrics by an angle theta
1 次查看(过去 30 天)
显示 更早的评论
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);
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 个评论
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 3-D Scene Control 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!