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!
