Question: Help! Please matlab code for this. Make a pretty 3D curve with a function file. Write a function (as a function file) that takes in
Make a pretty 3D curve with a function file. Write a function (as a function file) that takes in one parameter, t, and outputs three coordinates, x, y, z. Feel free to start with the spiral 3D curve from lecture (week 8. lee 2). Now plot the curve in 3D using plot 3. Create t values using lenspiece. Get the x, y, z values by calling the function [x, y, z] = funk (t) Plot using plot3 (x, y, z). Plot3 takes the same drawing parameters as plot; play around with colors and markers Use the rotate tool on the figure toolbar to sec the curve from different angles Try some view commands on the command line to change the view view (2) 2D view view(3) Comer view view ((10, 20]); Azimuth and elevation Change the function in some fun ways Make the z value go up and down as well a Make the spiral elliptical
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
