how can I put xls data in to 2D lookup table toolbox in simulink
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
athraa sab
il 27 Nov 2020
Commentato: Walter Roberson
il 28 Nov 2020
hi... can help me to put this data in to 2D lookup table /simulink toolbox
flow pressure
0 5.00202
3.01724 5.00202
7.75862 4.93193
12.5 4.83193
16.8103 4.73193
21.9828 4.63193
28.0172 4.52185
35.3448 4.42185
41.3793 4.31176
50.431 4.20168
59.0517 4.10168
66.3793 4.009
2 Commenti
Walter Roberson
il 27 Nov 2020
That looks like a 1D table to me, relating flow (input) to pressure (output)
Risposta accettata
Sulaymon Eshkabilov
il 27 Nov 2020
You'd need to employ:
(1) [From Spreadsheet] block in order to read your data in MS Excel file. Note that you can specify in your MS Excel data file Column 1 to be time series or skip (select from drop down options of the block), and Column 2 to be signal 1. SImilarly, you'd specify for signal 2.
(2) [2D Lookup Table] block from Simulink Library.
How to handle parameter specifications of [From Spreadsheet] block see - https://www.mathworks.com/help/simulink/slref/fromspreadsheet.html#buvhvaj-2
Good luck.
9 Commenti
Walter Roberson
il 28 Nov 2020
WIth the angular speed being constant, you do not have two independent variables and one dependent variable.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Lookup Tables 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!