Question: Construct a MATLAB function which accepts any matrices A (system matrix) and C (output matrix) as the inputs of the function, then checks the observability

 Construct a MATLAB function which accepts any matrices A (system matrix)

Construct a MATLAB function which accepts any matrices A (system matrix) and C (output matrix) as the inputs of the function, then checks the observability of the given system (A, C) via three tests of observability (observability matrix, observability gramian, PBH test). The function should have an output of a 3-digit binary string with {1, 1, 1} denoting that the system is observable and the three tests all yielded 'l' means the system is observable or {0, 0, 0} denoting the system is not observable. If your code returns something other than these two results, it means that the code is wrong. The function should also have an output of the computational time required to run each of the methods for observability. The computational time should be returned in an array with three numbers where each number denotes how many seconds it takes to run each observability test. You need to write down comment for every row of your code that explains the duty of that row briefly in your function, the code without comments will not be evaluated

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!