How to create a lookup table?

7 vues (au cours des 30 derniers jours)
SIMONE PARENTELA
SIMONE PARENTELA le 6 Jan 2021
I have a velocity vector of 200 columns, and a Torque 200x200 matrix. If I type plot(w_ice,T_ice) I get the red line as the result. I need to create a lookup table that represents this red line. If I enter the lookup table in simulink I get the error that the breakpoint must be motorically increasing. How do I proceed?
  14 commentaires
SIMONE PARENTELA
SIMONE PARENTELA le 7 Jan 2021
you're right. how can i solve the problem?
Athrey Ranjith Krishnanunni
There isn't enough information to provide a definite answer for that, because the issue is physical and not related to programming.
You could try explaining what you are actually trying to do here in the general sense, and maybe someone who knows about the topic can help.

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 6 Jan 2021
Modifié(e) : KSSV le 6 Jan 2021
Read about knnsearch. Also have a look on scatteredInterpolant.
  1 commentaire
SIMONE PARENTELA
SIMONE PARENTELA le 6 Jan 2021
I already have points. The red line is already plotted. I don't understand how to overcome the problem on simulink. Because the error says that the breakpoints (speed values) must be monotonically increasing.

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by