Transfer function with time delay, transcendental transfer function

13 ビュー (過去 30 日間)
August
August 2014 年 11 月 11 日
コメント済み: August 2015 年 6 月 24 日
Question: How to define the transfer function
in Matlab?
where
s: is the laplace variable
z: is a spatial variable (also a constant here)
k1,k2,w: are constants

回答 (3 件)

MA
MA 2014 年 11 月 13 日
clear all
close all
clc;
k1=1;k2=1;w=.5;z=2;
s=tf('s');
H = (-(((s^2)+(k1+k2)*s)/(w*(s+k2)))*z);
bode(H)
grid on
  1 件のコメント
August
August 2014 年 11 月 13 日
there is the "exp" missing like:
H = exp(-(((s^2)+(k1+k2)*s)/(w*(s+k2)))*z);
but then matlab answers:
??? Error using ==> tf.exp at 31 The input argument of the "lti/exp" command must be a transfer function of the form -M*s.

サインインしてコメントする。


milad karimshoushtari
milad karimshoushtari 2015 年 5 月 4 日
I have the same problem, did you find any answer?

milad karimshoushtari
milad karimshoushtari 2015 年 6 月 23 日
I found a solution for a similar problem, you can not define this transfer function in matlab or simulink. use the time domain equation with derivatives that resulted to this transfer function, then use finite deference method to approximate the derivative of spatial variable then you can write a recursive code in matlab or in s-func simulink to solve it, it is not easy! search for finite deference method to solve spatial dependent differential equations then you will figure out the rest.
  1 件のコメント
August
August 2015 年 6 月 24 日
Thanks for your idea, do you have an example of your proposal or a link with example code?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by