how to solve equation trimf(x, [0 4 10]) = 0.5;
1 次查看(过去 30 天)
显示 更早的评论
how to solve equation trimf(x, [0 4 10]) = 0.5 in matlab?
thanks for help!
0 个评论
采纳的回答
Shashank Prasanna
2013-2-5
>> fminsearch(@(x)(-0.5+trimf(x,[0 4 10])).^2,0)
ans =
2
Confirm:
>> trimf(2,[0 4 10])
ans =
0.5
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!