Question: 20. A student, Matt Damon, array with five fields, name, addr, city, state, Answer: lives in 101 Central Ave, Newark, NJ 07102. Please create a
20. A student, Matt Damon, array with five fields, name, addr, city, state, Answer: lives in 101 Central Ave, Newark, NJ 07102. Please create a student structure and zip. Ex. The first field is studen?name'Matt Damon"; D. (20%) write Matlab code: (Each question is 5 points.) 1. Plot the function x)+3 for-3sxs 5. Use linspace for creating 200 points and label x- and y-axes as "x" and "y (x +5) 4+3x Answer: 2. Write a function named "block" to compute the surface area and volume of a 3D rectangular block given its length, width, and height. Note that the function has two output arguments and three input arguments. The surface area is the area summation of six faces. The volume of the block is the product of length, width, and height
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
