i have loaded a time-series data (variable of 10000 rows and one column), and for that to estimate a transfer function i am getting the index error, please do help me

1 次查看(过去 30 天)
sys=tfest(data1,1,0)
Error using tfest (line 113)
Index exceeds the number of array elements (0).
  5 个评论
Walter Roberson
Walter Roberson 2023-1-12
Please run this segment of debugging code and tell us the result.
OutputData = data1.OutputData;
if isempty(OutputData)
fprintf('Stored OutputData is empty\n');
output_size = 0;
elseif iscell(OutputData)
fprintf('OutputData is cell\n');
output_size = size(OutputData{1});
else
fprintf('OutputData is numeric\n');
output_size = size(OutputData);
end
disp(output_size)

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by