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 view (last 30 days)
sys=tfest(data1,1,0)
Error using tfest (line 113)
Index exceeds the number of array elements (0).
  5 Comments
Walter Roberson
Walter Roberson on 12 Jan 2023
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)

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!