필터 지우기
필터 지우기

What if you modify this matlab optimization example?

조회 수: 2 (최근 30일)
Richárd Tóth
Richárd Tóth 2019년 8월 5일
편집: Torsten 2019년 8월 6일
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
Richárd Tóth
Richárd Tóth 2019년 8월 5일
the answer seems to be yes
Torsten
Torsten 2019년 8월 6일
편집: Torsten 2019년 8월 6일
yes. The number of elements created by meshgrid (or ndgrid) in the arrays wx and wy equals the number of grid points in two (or n) dimensions - and that's where the constraint is evaluated.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile 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!

Translated by