Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Do I Convert a System From State-Space to Transfer Function in MATRIXx?

Primary Software: MATRIXx
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: I have a variable in MATRIXx that I entered in state-space form, but now I want to see it as a transfer function. How do I do that? Can I convert a transfer function to state-space form?

Solution: The system will be stored in the form that it is entered and it is usually not necessary to have the system in a specific form. Most functions that operate on system objects will be able to handled the system regardless of the form that it is stored in. Occasionally it may be desired to convert from one form to another. To make the conversion in representation use the function check with the keyword convert. Below are some examples to use:
syss = system([1,4;3,-1],[.1;1],[0,1],0)
[,systf] = check(syss, {tf, convert})

systf2 = system(makepoly([2,.5]),makepoly([1,.7,3]))
[,ssyss2] = check(systf2,{ss,convert})
To convert from state-space to transfer function the system has to be SISO, and to convert from transfer function to state-space the transfer function has to be proper. See the help of the check function for more information (type help check in Xmath).

Related Links:

Attachments:





Report Date: 11/12/2004
Last Updated: 11/12/2004
Document ID: 3FBDELOH

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit