How can I interpolate in matrices with NaN elements in Simulink?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi There,
I would like to use a 2-d lookup-table, add a 7d-matrix to it and have it interpolate everything between the given values. So far, that works, but unfortunately my 7d-matrix has some NaNs in some Elements, which cause the interpolation to fail.
Example with 2d-Matrix:
A = [1 2 3; 2 NaN 4; 3 4 5]
if I give the lookup table the inputs 1.5 and 2.5, I want it to return 3.
Now, how could I go about achieving this?
Many thanks in advance
Justus
Risposte (0)
Vedere anche
Categorie
Scopri di più su Interpolation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!