how to create lookup table for torque vs speed

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
I'm also assuming you need an interp1 function to actually use the lookup table for an arbitrary input.
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

Asked:

on 17 Apr 2019

Closed:

on 13 Jun 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!