Decreasing value in lookup table
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have an Excel sheet from where I import values to be used in a 1D lookup table. The input is a temperature which is 0-95 in steps of 5. The output is kinematic viscosity going from 1.751 to 0.306. When running my simulation I get the error that my values "must be monotonically increasing".
How do I use the lookup table when my values are decreasing?
0 commentaires
Réponses (2)
Michael Haderlein
le 17 Oct 2014
You can flip your data, just use the flipud for column arrays and fliplr for line arrays.
0 commentaires
Ole Møller Christensen
le 17 Oct 2014
Modifié(e) : Ole Møller Christensen
le 17 Oct 2014
0 commentaires
Voir également
Catégories
En savoir plus sur Lookup Tables dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!