Question: the program for this question is matlab 4. Write a script file HW2_4_YourLastName.m, where the following is done: (1) A 3201 matrix, CA, is composed

the program for this question is matlab
the program for this question is matlab 4. Write a script file

4. Write a script file HW2_4_YourLastName.m, where the following is done: (1) A 3201 matrix, CA, is composed such that the 3 rows represent t=60,120,240sec and the 201 columns represent r. The matrix CA should be composed by using the three CA(r) arrays obtained in Problem 3 (i.e., the script file repeats a part of the file in Problem 3 ). (2) A 31 column vector tv=60120240 corresponding to the times is defined. (3) Select three 31 column vectors from CA corresponding to 11th,215t,31st columns (they would correspond to r=1,2,3cm, respectively) in CA and make a graph of the vectors as y and tv as x. In the graph, for all three plots, use both a symbol "o" and solid lines. Each plot should have a color different from each other. Label both axes and add a legend

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 Chemical Engineering Questions!