Be the first to rate this file! 6 Downloads (last 30 days) File Size: 3.27 KB File ID: #21408

State Space Convolution

by Janardhanan Sivaramakrishnan

 

11 Sep 2008 (Updated 11 Sep 2008)

The script convolves two MIMO state space systems and gives the convoluted output

| Watch this File

File Information
Description

Two scripts are included here.
1. convsys.m - combines the state space representation of two systems connected in series.

 [Ao,Bo,Co,Do]=convsys(A1,B1,C1,D1,A2,B2,C2,D2)

 This algorithm gives the convolution of two state space representations

        | A1 B1 | | A2 B2 |
 u ==> | | ==> | | ==> y
        | C1 D1 | | C2 D2 |

The algorithm also accepts state space objects as inputs and gives out a state space object as output.

2. sysfeedbk.m
 [Ao,Bo,Co,Do]=convsys(A1,B1,C1,D1,A2,B2,C2,D2)
Gives the closed loop state space representation for two systems connected with negative feedback in the following manner.

        | A1 B1 |
 u ==> | | ==> y
   + o | C1 D1 | |
   - | |
     | | A2 B2 | |
     |= | |= |
        | C2 D2 |

The zip file also contains checkcompatibility.m , which checks the compatibility of matrix dimensions in the system and cleanss.m which can be used to 'clean' a state space representation.

Required Products Control System Toolbox
MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
state space Janardhanan Sivaramakrishnan 22 Oct 2008 10:18:50
convolution Janardhanan Sivaramakrishnan 22 Oct 2008 10:18:50
control design Janardhanan Sivaramakrishnan 22 Oct 2008 10:18:50
feedback Janardhanan Sivaramakrishnan 22 Oct 2008 10:18:50
convolution Ricardo 29 Oct 2011 15:01:54

Contact us at files@mathworks.com