Why is System ID using tfest inconsistent between different computers
Show older comments
I am using tfest to get the transfer function coefficients and I am getting different results depending on the computer that I am using. I have used 3 different computers and tfest outputs different results on each computer, although the results are consistent on a single computer. The code that I am using is identical, being saved on a cloud folder and accessed directly for each computer.
I am including the iddata (named IOdat) and the accompanying time data if needed (named IOt). Here is a simplified version of my TF estimation and how I noticed the differences.
load('IDsample.mat')
ord = 20:23; % The polynomial order for TF estimation
FIT = NaN(1,length(ord)); % Preallocate vector for fit quality
for i = 1:length(ord)
sys = tfest(IOdat,ord(i),ord(i)); % Estimate the TF coefficients
[~,FIT(i),~] = compare(IOdat,sys); % Save the fit quality
end
Without changing anything else, my FIT results change depending on the computer that I am using. Here are the fit results for the 3 computers that I have used (for these 20 - 23 order cases).
- [89.211, -65.00, 90.142, 74.776] --- Home Desktop
- [87.721, 72.485, 89.156, -965.5] --- Laptop
- [83.374, 72.484, 90.157, 71.398] --- School Library Desktop
What is it about tfest that produces different results? Are there settings that I can change in tfest to get consistent results across different devices?
The specs for each computer are as follows:
Home Desktop
- Processor: AMD Ryzen 7 2700X 3.7 GHz 8-Core
- RAM: 32 GB (2 x 16 GB DDR4-3200)
Laptop (Windows Surface Pro 7+)
- Processor: 11th Gen Intel® Core™ i5-1135G7 @ 2.4 GHz, 2419 Mhz, 4 core, 8 Logical Processors
- RAM: 8 GB (unknown form)
Library Desktop
- Processor: 12th Gen Intel(R) Core(TM) i7-12700 2.10 GHz
- RAM: 16 GB (unknown form)
Accepted Answer
More Answers (0)
Categories
Find more on Transfer Function Models 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!