Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Sum of difference of integrals
Respuestas (1)
24 comentarios


- Your nonlinear constraint function tries to use lambda, but lambda has no role at that point. The objective function is strictly based on s
- Your c computes values that are certain to be complex-valued given your upper and lower bounds on s (in particular, the fact that is is real-valued at all). The automatic comparison of those complex values to 0 is probably not going to do what you want
- Your ceq computes values that involve the square of complex quantities that you can be certain are not the square roots of a negative real value -- that is, the square of the quantities is going to give you a complex quantity. Those are then subtracted from the undefined lambda, squared. It is unlikely that the result will exactly balance to be a positive real number suitable for comparison to 0 for equality constraints. The algorithm expects a real number to be returned -- the algorithm uses the sign() of the returned value to try to figure out how to improve the input parameter so that the equality is met. If it does not just fall over, it is unlikely to do what you want.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia-Pacífico
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)
