Decreasing value in lookup table
9 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (2 件)
Michael Haderlein
2014 年 10 月 17 日
You can flip your data, just use the flipud for column arrays and fliplr for line arrays.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Lookup Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!