Undefined function 'iosize' for input arguments of type 'double'.
Show older comments
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);
Accepted Answer
More Answers (1)
Maja Bakalarz
on 3 Jun 2021
0 votes
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 Comments
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
on 3 Jun 2021
Thank you! Now everythin is working!
Star Strider
on 3 Jun 2021
My pleasure!
Categories
Find more on Digital Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!