MATLAB Answers

0

Transfer function with time delay, transcendental transfer function

August 님이 질문을 제출함. 11 Nov 2014
최근 활동 August 님이 댓글을 추가함. 24 Jun 2015
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

  댓글 수: 0

로그인 to comment.

답변 수: 3

MA 님의 답변 13 Nov 2014

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

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.

로그인 to comment.



I have the same problem, did you find any answer?

  댓글 수: 1

unfortunately not until now

로그인 to comment.



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

Thanks for your idea, do you have an example of your proposal or a link with example code?

로그인 to comment.



Translated by