Question: HW 01 Solve each problem in a separate script file and name it as LastName_HW_01_pb_##.m. After you run each script file, copy the results from
HW 01 Solve each problem in a separate script file and name it as LastName_HW_01_pb_##.m. After you run each script file, copy the results from the Command Window to the end of the script file and comment them. 1. Use MATLAB to compute the following expressions: (Double check your answers with a calculator) a. X=3(15-32) - 267 19+16 72657[5 Ln(1500)] 0. b. y=-1 137-69L0g100 C. sin( ) hint: the whole sine function is raised to the power 4 d. sin("") hint: only the value inside the sine function is raised to the power 4 e el-2.1) + 3.47 log(14) 2. Use MATLAB to construct a row vector (1-D array) that starts at 0 and ends at 4 with increment of 0.125. Use proper commands to determine how many elements are in the array (assign to a variable num_elem) and to determine the 22nd element (assign to a variable elem_22). 3. Use MATLAB to solve the below simultaneous equations x + 5z - 5y = 8 3z + 2x = 12 0.2z+ 0.3x + 0.5y = 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
