Question: USE MATLAB ICA 4: This is the Homer Simpson plot. Homer likes to look at donuts from different angles a) Create two vectors x and

USE MATLABUSE MATLAB ICA 4: This is the Homer Simpson plot. Homer likes

ICA 4: This is the Homer Simpson plot. Homer likes to look at donuts from different angles a) Create two vectors x and y, both with ranges from 0 to 1, with steps of 0.01 b) Use meshgrid to create matrices xx and yy from x and y c) Create matrix zz using the equation zz = real((0.42-[0.6-(xx2 + yy2)0.5]2)0.5) (The real function gets rid of rounding-error imaginary numbers. Don't forget the dot- multiply when needed) Plot zz vs xx and yy using mesh from 4 different viewing angles, as subplots in a figure. Title each subplot with the azimuth and elevation used for the view Finally, use the shading flat command to get rid of the black lines d) e) Your result could look something like this az =-37.500000, el = 30.000000 0.4 0.2 az = 50.000000, el = 75.000000 1 -1 az 50.000000, el = 95.000000 az = 150.000000, el =-55.000000 0 0.4 0.2 0 1 -1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!