필터 지우기
필터 지우기

I want to give Excel sheet input to Transfer Function Simulink Block

조회 수: 3 (최근 30일)
Santosh Biradar
Santosh Biradar 2022년 10월 17일
댓글: Mathieu NOE 2022년 10월 17일
Hello
As mentioned,
I have an excel sheet as well as .mat file any of them one can be used for below scenerio.
It is having one parameter with almost 20000 different values.
So how can I give these value to Transfer Function block?
I tried with 1-D Lookup Table but it is showing Error Msg as:
Error in port widths or dimensions. Output port 1 of 'LPF1/In1' is a one dimensional vector with 20618 elements.
Error in port widths or dimensions. Invalid dimension has been specified for input port 1 of LPF1/TransferFunc.
Please let me know for brief.
Thank you
  댓글 수: 3
Santosh Biradar
Santosh Biradar 2022년 10월 17일
편집: Santosh Biradar 2022년 10월 17일
I set the values for TF as
Numerator Coefficients: [10.5]
Denominator coefficients : [1 10.0531]
IMG.
at the In1 Input Port 1. I am planning to give sort of set of data inputs/.mat/.excel. I am not sure how I can pass it.
.mat file IMG.
Thank you
Mathieu NOE
Mathieu NOE 2022년 10월 17일
So you have your TF block aleady set
if i understand correctly you simply have to take your time and data arrays as input of the TF block
simply load in your workspace time and data and use "from Workspace" Simulink Block

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Model Editing에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by