フィルターのクリア

How to get the new matrix after rotation

2 ビュー (過去 30 日間)
Mahi Nazir
Mahi Nazir 2014 年 8 月 5 日
コメント済み: Mahi Nazir 2014 年 8 月 5 日
If I am rotating a matrix by using:
[C,h] = contour(x,y,Conv_Norm);
rotate(get(h,'children'),[0 0 1],angle)
Is there a way I get the new rotated matrix values?

回答 (1 件)

Adam
Adam 2014 年 8 月 5 日
get( h, 'XData' )
get( h, 'YData' )
should give the rotated data values
  2 件のコメント
Mahi Nazir
Mahi Nazir 2014 年 8 月 5 日
Thank you for your reply. But I am looking for the matrix Conv_Norm values after rotation not the axis data. Will that matrix remain unchanged after rotation?
Mahi Nazir
Mahi Nazir 2014 年 8 月 5 日
Actually I am rotating the matrix Conv_Norm by a certain angle and then I require the rotated matrix.
I tried using imrotate which doesn't give the desired results

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

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by