Question: NEED HELP WITH writing MATLAB CODE MUST USE CYLINDER FUNCTION. needs to include [X,Y,Z] = cylinder Use Matlab's cylinder function. You will have to give

NEED HELP WITH writing MATLAB CODE MUST USE CYLINDER FUNCTION.

needs to include [X,Y,Z] = cylinder

Use Matlab's cylinder function. You will have to give the function a vector representing the semi-circular profile that you want revolving around the z-axis. Note that cylinder will return values that are spaced along the z-axis from 0 to 1. You will have to scale them to get a sphere that isn't squashed.

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!