how to solve equation trimf(x, [0 4 10]) = 0.5;
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
how to solve equation trimf(x, [0 4 10]) = 0.5 in matlab?
thanks for help!
0 Kommentare
Akzeptierte Antwort
Shashank Prasanna
am 5 Feb. 2013
>> fminsearch(@(x)(-0.5+trimf(x,[0 4 10])).^2,0)
ans =
2
Confirm:
>> trimf(2,[0 4 10])
ans =
0.5
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!