I have a gridded efficiency map where each point depends on different input values for current and voltage.
F = griddedInterpolant(x_voltage,y_current,eff_map)% and query pointseff = F(voltage_set,current_set)
Now I want to convert this map while runtime of a program to a curve for a fixed voltage, so that the efficiency just depends on the current/power.
function new_F = reduceDimension(F,fixed_voltage)...endeff = new_F(power_set)
I can't find a quick solution, maby someone has an idea.