Matlab grader2/12/2023 I can get all the students' answers to a particular question. To get a single answer, I have another option. The questions have extraordinarily imaginative names. I have an assignment with 5 questions, 2 T/F and 3 multiple choice (a:d). Showing here, grading an assignment, shows some of the simpler ways in which you might use a dataset array. The collections are more constrained (in this case, 1:1) than the flexibility afforded by cells or structs. You might want to use a dataset array if the data you have is natural to think of as collection of different but related entities. Additionally, a dataset array can have labels that allow you to reference data not just by numeric or logical indexing, but by names as well. To have names with a cell array, you either need to carry around an extra array, or have a special row or column to containĪ scalar structure similarly can perform this service but but does not enforce the idea that each field must hold the same Together may comprise many different data types.Ī cell array can do this, but does not enforce the idea that all the elements in a given column must have the same type. A dataset array is basically two-dimensional array where each column holds data represented in a single data type, but the columns
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |