Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Everything should be suppressed the only thing that should output in the command window is something done with fprintf) or the input command. (a) create

image text in transcribed
Everything should be suppressed the only thing that should output in the command window is something done with fprintf) or the input command. (a) create a input asking the user for a name and save it into a variable called 'name. Using the length function find the length of the name. Using the length which, w be different for each name entered, index last letter out of the name variable with the length you found and save it in variable Z. Using fprintf), output the character stored in Z with a statement saying what Z is. The output should have two new line format commands at the end of it to prevent cluttered outputs (b) Use the input0 function to Ask the user to enter a umber between 10 and 20 and save that number into a variable. Use that number to create a matrix x going from 0 to the entered number incrementing by 0.1. Then, perform the following equations. a = sin(cos(tan(z))) b = sin(2 sin(2 sin(2 sin(z)))) e = tan( 17r) + cot(17z) (c) Using the equations for part (b), plot the graphs for each equation on a figure that is named inputs The figure most contain three 3x1 subplots. Make the first plot of the fist equation using a red line, the second plot of the second equation using a blue line, and the third plot of the third equation using a magenta line. Title each plot with its respective equation also axis labels for each subplot

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems Second East European Symposium Adbis 98 Poznan Poland September 1998 Proceedings Lncs 1475

Authors: Witold Litwin ,Tadeusz Morzy ,Gottfried Vossen

1st Edition

3540649247, 978-3540649243

More Books

Students also viewed these Databases questions