Arrays have incompatible sizes for this operation for multiplying Parameters, what code would be proper to type in?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Ashlee Julienne Sigua
el 24 de Oct. de 2023
Respondida: Walter Roberson
el 24 de Oct. de 2023
Arrays have incompatible sizes for this operation. However the said parameters have different sizes.
AA.Constraints.one = AIT .* LILT == ff;
The model looks like this: ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1519951/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1519951/image.png)
1 comentario
Respuestas (1)
Walter Roberson
el 24 de Oct. de 2023
AA.Constraints.one = permute(AIT, [3 1 2]) .* LILT == ff;
0 comentarios
Ver también
Categorías
Más información sobre Get Started with Optimization Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!