matlab中,用循环结构求最小问题。
显示 更早的评论
matlab中,求正整数对p,q,使得p+q<=2022且|p\q-0.915|最小,除了用整数非线性规划求解外,用循环结构的话应该怎么用matlab编程呢?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!