From: Susan on
I have a transfer function that I want to put into series 5 times. I want to find the sum of the 5 TFs. I know how to put the 5 TFs in series using simulink, but is there a way to get the sum of the TFs back into MATLAB? I ultimately want to find the root locus of the TF.
From: James Allison on
You could linearize the series of transfer functions in Simulink, then
export the resulting system to MATLAB.

http://www.mathworks.com/access/helpdesk/help/toolbox/slcontrol/ug/brz_wd6.html

-James

Susan wrote:
> I have a transfer function that I want to put into series 5 times. I
> want to find the sum of the 5 TFs. I know how to put the 5 TFs in
> series using simulink, but is there a way to get the sum of the TFs back
> into MATLAB? I ultimately want to find the root locus of the TF.
From: Susan on
I don't know what you mean by linearize the transfer functions. The link did not help me understand either.

I don't know how to export Simulink into MATLAB. I was unable to find anything in MATLAB's help menu.

Can I add transfer functions in MATLAB or Simulink?
From: James Allison on
It sounds like you should invest some time in going through some of the
documentation (i.e., the MATLAB/Simulink help), and perhaps some of the
tutorials and webinars available on mathworks.com. You might want to
start with the MATLAB and Simulink getting started guides, available
either in the MATLAB help, or here:

http://www.mathworks.com/access/helpdesk/help/techdoc/learn_matlab/bqr_2pl.html
http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/gs/gs_intropage.html

Here is a page with MATLAB tutorials:

http://www.mathworks.com/academia/student_center/tutorials/launchpad.html

Here is a page with Simulink tutorials:

http://www.mathworks.com/academia/student_center/tutorials/simulink-launchpad.html

Here is a page with controls tutorials, including information on how to
create transfer functions in MATLAB and Simulink:

http://www.mathworks.com/academia/student_center/tutorials/controls-tutorial.html

If you would like additional information you might like to view some of
the recorded webinars (you can search by product or application):

http://www.mathworks.com/company/events/webinars/

To answer your question about transfer functions, yes, you can create
transfer functions in both MATLAB and Simulink. In MATLAB you can use
the tf command (type help tf or doc tf at the MATLAB command line to
learn more), and in Simulink there is a transfer function block in the
continuous library.

I hope this helps.

-James

Susan wrote:
> I don't know what you mean by linearize the transfer functions. The
> link did not help me understand either.
>
> I don't know how to export Simulink into MATLAB. I was unable to find
> anything in MATLAB's help menu.
>
> Can I add transfer functions in MATLAB or Simulink?
From: Susan on
Thank you,

Maybe my question is confusing. I've been using MATLAB for awhile now and know how to write TFs in MATLAB and how to simulate my model in Simulink as well. I've worked through several webinars when I was first learning Simulink, but I never found the answer to this question:

How do you get data from Simulink and have it imported into MATLAB?
 |  Next  |  Last
Pages: 1 2
Prev: RGB to gray scale to RGB
Next: Phase shift in Simulink