Borrar filtros
Borrar filtros

how to solve equation trimf(x, [0 4 10]) = 0.5;

2 visualizaciones (últimos 30 días)
dinh tai
dinh tai el 5 de Feb. de 2013
how to solve equation trimf(x, [0 4 10]) = 0.5 in matlab?
thanks for help!

Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 5 de Feb. de 2013
>> fminsearch(@(x)(-0.5+trimf(x,[0 4 10])).^2,0)
ans =
2
Confirm:
>> trimf(2,[0 4 10])
ans =
0.5

Más respuestas (0)

Categorías

Más información sobre Simulink Environment Customization 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