Question: ineering Programming Mechanical 1 0 2 Total marks: 5 0 MEPV 1 C 3 Time: 9 0 min estion 1 ( 8 ) 1 1

ineering Programming Mechanical 102
Total marks: 50
MEPV1C
3
Time: 90 min
estion 1
(8)
11 arrays can be used to store character information without padding the informatio ate a cell array named fruit that will store the following information by means of conten dexing.
estion 2
N create a structure array storing the information given in the table above by means ssignment statements. Name the structure array fruit1 and store apples in a field ned pome_fruit, oranges in a field named citrus, pears in a field named ne_fruit 2 and bananas in a field named berries.
estion 3
er saving a '.jpg' file named "Leopard" to you current folder directory,
a) Load this file in your command window,
b) Write the code that will display the image,
c) Force the correct aspect ratio of the image,
d) Remove the axis from the image.
stion 4
sider the following \( X, Y \) and \( Z \) coordinates.
\( X \) coordinates: 10 values linearly spaced between 10 and 50.
Y coordinates: 3 values linearly spaced between 500 and 1000.
\( Z \) coordinates: \( Z=[1,2,3,4,5,6,7,8,9,10 ; 2,4,6,8,10,12,14,16,18,20 ; 3,4,5,6,7,8,9,10,11,12\)
the values of \( X, Y \) and \( Z \) to create the following plots in a single figure window.
Mesh plot
Surface plot
Contour plot
Combination of a surface and contour plot
ember to add axis and title labels for the above-mentioned plots. All plots must be cre arately in one figure window.
ineering Programming Mechanical 1 0 2 Total

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!