Question: That is all there is to the question Problem Description Up to now, the homework in this class has varied in terms of subject matter,

That is all there is to the questionThat is all there is to the question Problem Description Up tonow, the homework in this class has varied in terms of subject

Problem Description Up to now, the homework in this class has varied in terms of subject matter, as well as number of problems. In this problem, you're going to design a function that will accurately be able to recall the subject of a homework problem, where the input is the homework problem being recalled. This means that you're going to have to do multiple things in this problem. First, you're going to have to create a structure array, with 3 fields. Homework, Problem, and Subject Homework will be a regular array, containing the numbers 1 through 9, each representing one homework Problem will be a cell array, where each value is an array. The array will change with each index of the cell array. For example, for the 9th cell (Homework 9), the array within the cell will look like [1 2 3 41, since there are four problems. Subject will be a cell array, where each value is another cell array (nested cell arrays!!!. Each cell array will vary, but in general will contain the subject of each problem it corresponds to. So that means that each cell array within the main cell array will be the same length as each corresponding array in hw.Problem. Hint: For the first homework, hw.Homework(1) 1, hw.Problem[1 [12 3 4], hw.Subjectfl) ['Scalars/Vectors/Matrices', 'Basic Manipulation and Plotting of Data, Basic Manipulation and Plotting of Data Pt. 2, 'Numerical Derivatives and Integrals'] Make sure you're copying the strings correctly. Start copying from the beginning of the first word, to the end of the last word. Don't count spaces before or after. If you go to a problem, you can click on and copy the title of the problem. Leave out the problem number and dash. Hint: Remove any apostrophes in any subjects. Problem Description Up to now, the homework in this class has varied in terms of subject matter, as well as number of problems. In this problem, you're going to design a function that will accurately be able to recall the subject of a homework problem, where the input is the homework problem being recalled. This means that you're going to have to do multiple things in this problem. First, you're going to have to create a structure array, with 3 fields. Homework, Problem, and Subject Homework will be a regular array, containing the numbers 1 through 9, each representing one homework Problem will be a cell array, where each value is an array. The array will change with each index of the cell array. For example, for the 9th cell (Homework 9), the array within the cell will look like [1 2 3 41, since there are four problems. Subject will be a cell array, where each value is another cell array (nested cell arrays!!!. Each cell array will vary, but in general will contain the subject of each problem it corresponds to. So that means that each cell array within the main cell array will be the same length as each corresponding array in hw.Problem. Hint: For the first homework, hw.Homework(1) 1, hw.Problem[1 [12 3 4], hw.Subjectfl) ['Scalars/Vectors/Matrices', 'Basic Manipulation and Plotting of Data, Basic Manipulation and Plotting of Data Pt. 2, 'Numerical Derivatives and Integrals'] Make sure you're copying the strings correctly. Start copying from the beginning of the first word, to the end of the last word. Don't count spaces before or after. If you go to a problem, you can click on and copy the title of the problem. Leave out the problem number and dash. Hint: Remove any apostrophes in any subjects

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!