Question: Whats wrong with my code? Mediterranean empires as he must ship the antiquities in plain wooden shipping crates to avoid alerting local and international authorities.

Whats wrong with my code?

Whats wrong with my code? Mediterranean empires as he must ship the

antiquities in plain wooden shipping crates to avoid alerting local and international

authorities. crates and which standard commercial wooden shipping crates the antiquity could

Mediterranean empires as he must ship the antiquities in plain wooden shipping crates to avoid alerting local and international authorities. crates and which standard commercial wooden shipping crates the antiquity could be shipped in (using the index numbers). The conversion factor from cubits to inches is not standard and depends on which culture/empire the antiquity is from: - Egyptian Royal Cubit: one cubit is 20.83 inches - Sumerian/Babylonian Cubit (kus): one cubit is 20.42 inches - Persian Cubit: one cubit is 20.42 inches - Greek Cubit (pechys): one cubit is 18.20 inches - Roman Cubit: one cubit is 17.47 inches - Others: one cubit is 21.0 inches The wooden shipping crate dimensions are stored in the MATLAB workspace file named lab5Data. mat. The crate dimensions (length, width, height) in inches are stored in the N by 3 array crateDim. so that a switch statement can be used to set the appropriate cubit conversion factor for the empire in your function. Examples of the use of the input function are shown: empireChoice = input('Choose an Empire: Egyptian (1) Sumerian (2) Persian (3) Greek (4) Roman (5) Other (6)'); width = input('Enter width in cubits: '); Are convln and inchLength correct? Variable inchLength must be of size [1 1]. It is currently of size [25 1]. Check where the variable is assigned a value. Anything other 1 to 6 should be assigned to the default value 21 Is lengthOfCrates and convln correct? Is logCrate correct? Variable logCrate has an incorrect value. It should be a Nx1 vector Is acceptableCrates correct? Variable acceptableCrates must be of size [22 1]. It is currently of size [0 1]. Check where the variable is assigned a value. It should be a vector hold the indeices of the acceptable crates. Is numbers correct

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!