sub-multiplier of a difference

As part of a University project, I have to program a function that gives me a number that is "the sub-multiplier of y2(xi)-y1(xi) closest to h, while stil beeing inferior or equal to h"
I have y2(xi), y1(xi) and h, but I have no idea how to program this opération. Any help?

4 comentarios

Miro
Miro el 27 de Jul. de 2012
check out FMINSEARCH
Karel
Karel el 27 de Jul. de 2012
It doesn't help me: I need an answer clsoe to a numerical valor, and fminsearch will only give me the lowest possible answer
Karel
Karel el 27 de Jul. de 2012
Thank you, that's part of the solution I need. But how do i create a vector of sub-multipliers?

Respuestas (0)

La pregunta está cerrada.

Productos

Etiquetas

Preguntada:

el 27 de Jul. de 2012

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by