Borrar filtros
Borrar filtros

finverse function of trapmf

1 visualización (últimos 30 días)
soloby
soloby el 9 de Jun. de 2015
Comentada: Roger Stafford el 9 de Jun. de 2015
if i have a function
x = -10:0.1:10; f1 = trapmf([-2 0 0 2]);
how do I take the inverse of this using finverse function to make my y-intercepts x and vice versa?
i tried f2 = finverse(f1);
does not seem to work
  1 comentario
Roger Stafford
Roger Stafford el 9 de Jun. de 2015
There is no unique inverse for this function. For a given y value greater than 0 and less than 1, there are two possible x values. For a given y of 0, there are infinitely many x values. Also the 'finverse' function requires a function of a symbolic variable.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Portfolio Optimization and Asset Allocation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by