Question: Creat a MATLAB code The following calculations remember that the square root of the value is equivalent to raising the value to the 1 /

Creat a MATLAB code The following calculations remember that the square root of the value is equivalent to raising the value to the 1/2 power check your code by entering it into Matlab
The area of a triangle is 12 base height. Define the base as the matrix
b=[2,4,6]
and the height h as 12, and find the area of the triangles.
30. The volume of a right prism is base area vertical dimension. Find the volumes of prisms with triangles of Problem 29 as their bases, for a vertical dimension of 10.
31. Generate an evenly spaced vector of values from 1 to 20, in increments of 1.(Use the linspace command.)
32. Generate a vector of values from zero to 2 in increments of 100.(Use the linspace command.)
33. Generate a vector containing 15 values, evenly spaced between 4 and 20.(Use the linspace command.)
34. Generate a table of conversions from degrees to radians. The first line should contain the values for 0, the second line should contain the values for 10, and so on. The last line should contain the values for 360.
35. Generate a table of conversions from centimeters to inches. Start the centimeters column at 0 and increment by 2 cm . The last line should contain the value 50 cm .
How to do this is Octave?
Creat a MATLAB code The following calculations

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 Programming Questions!