0% found this document useful (0 votes)
36 views2 pages

Experiment Number 3:-Controllable and Canonical Form

This document describes an experiment that takes in the order of a system and its coefficients, and outputs the system in controllable and observable canonical forms. The user inputs a system order of 2 and coefficients of [1 2 3]. The code then displays the system in controllable canonical form using A, and observable canonical form using B.

Uploaded by

Sachin Shende
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views2 pages

Experiment Number 3:-Controllable and Canonical Form

This document describes an experiment that takes in the order of a system and its coefficients, and outputs the system in controllable and observable canonical forms. The user inputs a system order of 2 and coefficients of [1 2 3]. The code then displays the system in controllable canonical form using A, and observable canonical form using B.

Uploaded by

Sachin Shende
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Experiment number 3:- Controllable And Canonical Form

Que.1. Enter the order and the system coefficient (user input) from maximum order of 's' and find out
its controllable and canonical form.

ANSWER:- EDITOR WINDOW

clc
clear all
close all
O=input('enter the order of system=')
m=input('Enter System Coeficints from (s) max order=')
a=eye(O)
b=zeros(O,1)
c=-fliplr(m)
A=[b a;c]
disp('Controllable Canonical Form')
B=A'
disp('Observable Canonical Form')

COMMAND WINDOW
enter the order of system= 2

O =

2
Enter System Coeficints from (s) max order=[1 2 3]

m =

1 2 3

a =

1 0
0 1

b =

0
0

c =

-3 -2 -1




A =
0 1 0
0 0 1
-3 -2 -1
Controllable Canonical Form

B =

0 0 -3
1 0 -2
0 1 -1
Observable Canonical Form

You might also like