Undefined function 'iosize' for input arguments of type 'double'.
古いコメントを表示
Hello,
first time using Matlab.
I'm using MATLAB R2019a - academic use.
First of all I need to know if matlab files should be saved in a specific directory to be run correctly.
Then the main problem is that I wrote this simple script:
clear all
close all
clc
s = tf('s');
F = (s+10)/(s^3+45*s^2-250^s)
and then, errors appeared:
Undefined function 'iosize' for input arguments of type 'double'.
Error in ^ (line 26)
[ny,nu] = iosize(M);
Error in Untitled (line 6)
F = (s+10)/(s^3+45*s^2-250^s);
採用された回答
その他の回答 (1 件)
Maja Bakalarz
2021 年 6 月 3 日
0 投票
Hi,
I have similar problem but according to equation 

I can't remove s from the power.
I had to define s earlier by this: s=tf('s') and now if I can type this equation in different way to get the score that I need?
I would be very grateful for help
3 件のコメント
The exponential term is correct. It is actually coded as an 'InputDelay' in the transfer function properties.
To illustrate —
k = 3;
T_2 = 5;
tau = 7;
s = tf('s');
G_2 = k/(1 + T_2*s) * exp(-tau*s)
G_2.InputDelay
figure
step(G_2)
grid
.
Maja Bakalarz
2021 年 6 月 3 日
Thank you! Now everythin is working!
Star Strider
2021 年 6 月 3 日
My pleasure!
カテゴリ
ヘルプ センター および File Exchange で Digital Filter Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
