How to produce an average model from multiple other models.
5 ビュー (過去 30 日間)
古いコメントを表示
Hi
I have 8 models for voltage corrections based on temperture.
I am using the following command to obtaining the correction factor
predict(model1, liveTemperature(idx))
These are my plots as an example
I would like to create an extra model, which is the average of all the models.
Is there a simple way of achiving this? or do i need to produce the mean of all the data points to create new model?
Thanks
1 件のコメント
回答 (1 件)
Sabin
2023 年 1 月 13 日
Sum the outputs of the eight models and divide at number of signals (8 in your case). For example if the 8 signals are y1,...,y8, the average would be y=(y1+y2+y3+...+y8)/8
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Waveform Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!