matlab中,用循环结构求最小问题。
Show older comments
matlab中,求正整数对p,q,使得p+q<=2022且|p\q-0.915|最小,除了用整数非线性规划求解外,用循环结构的话应该怎么用matlab编程呢?
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!