Question

3. (3 points) Write the sequence of MATLAB commands that you would use to produce a plot depicting the rotini-like surface de
0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

clc
clear all
close all
r=linspace(0,1,21);
th=linspace(-10*pi,10*pi,501);
[R,TH]=meshgrid(r,th);
Z=(5+R.^4).*TH/30;
X=R.*cos(TH);
Y=R.*sin(TH);
surf(X,Y,Z)
shading flat
axis equal
xlabel('X-axis');
ylabel('Y-axis');
zlabel('Z-axis');

Figure 1 Eile Edit Yew Insert 1ools Desktop 岦indow Help -6 0.5 95 Y-axis -axis O Type here to search ^旬后 ENG 10:21 AM US 02/2

Note: Brother according to HomeworkLib's policy we are only allowed to answer first question if there are many. So, I request you to post other questions as separate posts.

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
3. (3 points) Write the sequence of MATLAB commands that you would use to produce a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT