Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions