how to create lookup table for torque vs speed
Info
This question is closed. Reopen it to edit or answer.
Show older comments
how to create a lookup table for torque and speed
it must be a boost lookup table
3 Comments
What's a boost lookup table?
Does this work?
torque = [.1 .2 .3 .4 .5]';
speed = [20 21 22 23 24]';
table(torque, speed)
% Result
ans =
5×2 table
torque speed
______ _____
0.1 20
0.2 21
0.3 22
0.4 23
0.5 24
David Wilson
on 18 Apr 2019
I'm also assuming you need an interp1 function to actually use the lookup table for an arbitrary input.
Adam Danz
on 18 Apr 2019
If that's the case (referring to David's comment), it might be easier to just write a function. Interpolation would still rely on an arbitrary level of precision.
Answers (0)
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!