Arrays have incompatible sizes for this operation for multiplying Parameters, what code would be proper to type in?

1 次查看(过去 30 天)
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:

回答(1 个)

Walter Roberson
Walter Roberson 2023-10-24
AA.Constraints.one = permute(AIT, [3 1 2]) .* LILT == ff;

类别

Help CenterFile Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by