Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In the blank lines provided below, insert the appropriate command(s) needed to c

ID: 3013441 • Letter: I

Question

In the blank lines provided below, insert the appropriate command(s) needed to complete the figure. Generate a possible script file using appropriate sequence of cylinder, surf, title etc commands to develop a MATLAB script that will generate the 3-d graphics image shown of a cone of height 8 and a starting radius of 1. b)What does 'a' and 'b' stand for in the command view(a, b). What will be the view () commands to obtain the top view and front view of the cylinder. Show rough sketches of the graphic figures you will obtain by executing the commands.

Explanation / Answer

We want to generate surface in the above figure using approprite MATLAB commands.

>>X1=linespace(0,4,25); (This was given)

>>Y1=linespace(0,3,25); (This was given)

>>[X,Y], meshgrid (x,y);

>>Z=X.^2+Y.^2

>>Surf(X,Y,Z)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote