arrange equation results from min to max to use after
3 次查看(过去 30 天)
显示 更早的评论
t = [2993;3975.9;5063;6150;6919;8192.7;8862;10240.9;11488;12409.63;13545]
f = @(t) (2.2/9500).*((t/9500).^1.2).*exp(-((t/9500).^2.2))
g = @(t) 1-exp(-((t/9500).^2.2))
i want f(t) to be arranged from min to max to then do f(t)-g(t)
0.32398874
answers should be 0.39063829
0.31369048
0.31787694
....
...
0 个评论
采纳的回答
Bhaskar R
2021-6-25
t = [2993;3975.9;5063;6150;6919;8192.7;8862;10240.9;11488;12409.63;13545]
f = @(t) (2.2/9500).*((t/9500).^1.2).*exp(-((t/9500).^2.2))
g = @(t) 1-exp(-((t/9500).^2.2))
sort(f(t))-g(t)
5 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geometry and Mesh 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!