inverse Laplace transform in simulink

Hi,
I want to take inverse laplace transform in simulink. Can anyone please suggest me any block or any method to do it.
Thank you,

4 comentarios

Jon
Jon el 31 de Jul. de 2023
Please provide more context. What is it that you are actually trying to simulate in Simulink. How is the inverse Laplace transform going to be applied in this situation?
aakash dewangan
aakash dewangan el 1 de Ag. de 2023
Hi,
please see the file attached below.
I am just taking the inverse laplace transfoem by creating the "MATLAB function" block. The block shows error using command 'ilaplace'. Please help.
Thank you,
aakash dewangan
aakash dewangan el 1 de Ag. de 2023
Hi,
please see the file attached below.
I am just taking the inverse laplace transfoem by creating the "MATLAB function" block. The block shows error using command 'ilaplace'. Please help.
Thank you,
Jon
Jon el 1 de Ag. de 2023
Yes, but I'm wondering why you would be using an inverse Laplace transform in a simulation. If it is problematic (which it seems to be) maybe there is some way of accomplishing what you want to do without needing to do this.If you could explain a little further what you are trying to accomplish, maybe someone could suggest an alternative approach.

Iniciar sesión para comentar.

Respuestas (1)

Paul
Paul el 1 de Ag. de 2023
The Matlab Function block does not support any symbolic operations, as far as I know. I think the best you can do is structure the Matlab Function block like this
function y = fcn(u)
coder.extrinsic('dosymbolic') % dosymbolic.m is on the path
% do some stuff, might have to initialize z so that the code generator
% knows what to expect as output from dosymbolic
% do the symbolic stuff
z = dosymbolic(u) % assumes u is the input to the symbolic calcs. z must be a data type usable in Simulink
y = ...
end

Categorías

Más información sobre General Applications en Centro de ayuda y File Exchange.

Productos

Versión

R2023a

Preguntada:

el 31 de Jul. de 2023

Comentada:

Jon
el 1 de Ag. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by