How to search a element or a number in lookup table
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
hi, How to make a LUT of 2-dimensional, and also how to search a number or an element in the developed lookup table by using simple matlab commands( not using simulink preferably)?
thanks, sridhar
2 Commenti
the cyclist
il 5 Lug 2012
There are many possible approaches to making something like a lookup table in MATLAB. I suggest you add significant more detail to your question, so that we can narrow the suggestions we might make.
Risposte (1)
Walter Roberson
il 7 Lug 2012
[mindiff, row] = min( (YourTable(:,2) - V1).^2 + (YourTable(:,3) - V2).^2 );
0 Commenti
Vedere anche
Categorie
Scopri di più su Whos 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!