Question: In matlab code please Problem 1: Create a vector that starts at a, ends at b, and has a spacing of c. Allow the user
Problem 1: Create a vector that starts at a, ends at b, and has a spacing of c. Allow the user to input all of these parameters. Problem 2: Create an inches-feet table: a. Create an inches vector from 0 to 120 with an increment of 10. b. Calculate the corresponding values of feet. c. Group the inch vector and the feet vector together into a single matrix with two rows. d. Use the disp command to create column headings for your table. e. Use the fprintf command to create a table. Problem 3: Consider the following mathematical expression y=-x3 + x2 + 2 a) Create a single input-output function that can accept scalar and matrix values. b) Calculate y values for x = [0,-10) with a spacing of 1. c) Display results in a table format using fprintf with an appropriate number field format. d) Plot the output versus the input, and properly label your plot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
