How to retain duplicate while using ScatteredInterpolant
Ältere Kommentare anzeigen
I want to retain duplicates when using ScatteredInterpolant because I am getting warning:"Warning: Duplicate data points have been detected and removed - corresponding values have been averaged. "
1 Kommentar
shravani banerjee
am 8 Okt. 2018
Did you found your answer as I too have the same problem?
Akzeptierte Antwort
Weitere Antworten (1)
Francesc Purroy
am 12 Nov. 2018
0 Stimmen
In some cases you can have a set of x and y data where the values of x and/or y are repeated as Aristo was showing. A simple way around is to add some noise to your data as with randn then ScatterInterpolant does not consider the values to be equal and it works for me.
Kategorien
Mehr zu Interpolation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!