Rotate 3D Radiation Pattern

Hi there,
I would like to rotate my radiation pattern. From this:
To this:
I can do the rotation by using the toolbox, by the following:
el = -90:90;
az = -180:180;
newax=roty(90);
pat = rotpat(Y,az,el,newax);
I can't use this toolbox, because I need to have the proper matrix that gives me a radiation pattern pointing towards that direction.
The radiation pattern matrix I would like to rotate has the following format: (181x361)
Any advice?
Thank you in advance.

2 Comments

because I need to have the proper matrix that gives me a radiation pattern pointing towards that direction.
What is "improper" about the matrix given as output by rotpat?

Sign in to comment.

Answers (0)

Products

Release

R2020a

Asked:

on 3 Nov 2022

Commented:

on 3 Nov 2022

Community Treasure Hunt

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

Start Hunting!