Cell array test in MATLAB Grader
Ältere Kommentare anzeigen
I am preparing some exercises in MATLAB and some of the solutions might be indicated within cell arrays.
I have noticed that form some variables like transfer functions, space state models... the default value comparison is not effective and a MATLAB Code test must be used. Is it the same when using cell arrays?
Regards
Agustín
4 Kommentare
Dyuman Joshi
am 9 Okt. 2023
What is the data inside the cell arrays that needs to be compared?
Numeric data, text data or something else?
Agustín
am 9 Okt. 2023
Walter Roberson
am 10 Okt. 2023
I have seen people occasionally post that the State Space representation of a system is not unique. Is there a good way to figure out if two state space representations are equivalent?
Agustín
am 13 Okt. 2023
Antworten (1)
Cris LaPierre
am 9 Okt. 2023
1 Stimme
As Dyuman Joshi pointed out, it depends what you are storing in your cell array. If you store any variables that require a MATLAB Code assessment test to assess them (objects, transfer functions, etc), then you will need to write a custom assessment test to assess your cell array.
If you only store variables that the default 'Variable Equals Reference Solution' test type can assess, then you can use that same test to assess your cell array.
1 Kommentar
Agustín
am 9 Okt. 2023
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!