you could modify s(1,1) to 1 so wx and wy will have a size of 100 at start, but as we know s is changing between calls, so they can have different sizes during the execution
What if you modify this matlab optimization example?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello
what if w2 is between 1 and 199 instead of 1-100? In that case wx and wy would have different sizes and it would throw an error at K1.
댓글 수: 6
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!