Be the first to rate this file! 22 Downloads (last 30 days) File Size: 2.24 KB File ID: #33926
image thumbnail

Routh's array in symbolic way

by Carlos Mario Velez Sanchez

 

24 Nov 2011 (Updated 01 Dec 2011)

Routh's array of symbolic polinomials. It is different for similar functions in Matlab Central.

| Watch this File

File Information
Description

[M L] = routh_hurwitz(P,N)
This function gives the Routh's array from a numerical or SYMBOLIC polynomial and includes two special cases: (1) the first element of the row is zero; (b) a row of zeros.

P Numerical or symbolic array of coeficients. In the case of symbolic variables it is necesarry to define them as: >> syms a b c ...
N Digits to be considered zero a number. E.g, for N=5, 10^(-5) is considered a zero. By default, N=10
M Routh's array without any simplification (e.g., with epsilon notation)
L Simplified first column of Routh's array with simplification (e.g., using the limit when epsilon tends to zero) that determines the number of roots in the right-half of the s-plane: the number of changes of signs in L

Examples:
1. [M, L]=routh_hurwitz([1 0 2 3 4])
2. syms a b c d K; [M, L]=routh_hurwitz([1 b c d+a*K])
3. syms k; [M, L]=routh_hurwitz([1 k 1 1])
4. [M, L]=routh_hurwitz([1 -3 -15 -9 -58 12 72])
5. syms a; [M, L]=routh_hurwitz([1 0 2 3 a])

Developed by Carlos M. Vélez S., cmvelez@eafit.edu.co
http://sistemascontrol.wordpress.com/
EAFIT University, http://www.eafit.edu.co
Medellín, Antioquia, Colombia
November 24th 2011

Required Products Symbolic Math Toolbox
MATLAB
MATLAB release MATLAB 7.11 (2010b)
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.
Updates
30 Nov 2011

The input argument N was included

01 Dec 2011

It was fixed the problem when the last elements of a polynomial are zeros.

Tag Activity for this File
Tag Applied By Date/Time
routh Carlos Mario Velez Sanchez 28 Nov 2011 09:25:19
hurwitz Carlos Mario Velez Sanchez 28 Nov 2011 09:25:20
control design Carlos Mario Velez Sanchez 28 Nov 2011 09:25:20
stability Carlos Mario Velez Sanchez 28 Nov 2011 09:25:20
control design Osmar Aguilera 17 Jan 2012 20:29:57

Contact us at files@mathworks.com