Question: I need help with these two Matlab question (1)Write a script that will 1. prompt the user for a maximum x value. 2. create an

I need help with these two Matlab question

(1)Write a script that will 1. prompt the user for a maximum x value. 2. create an x vector from 1 to the users maximum in steps of 0.1 3. create a y vector which is sin(x) 4. plot the x and y vectors using blue *s, using appropriate x and y labels and a title

(2)Write a fives function that will receive two arguments for the number of rows and columns and will return a matrix with that size of all fives. Example: >> fives(2,3) [5 5 5 5 5 5] >>

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!