Arrays have incompatible sizes for this operation for multiplying Parameters, what code would be proper to type in?
Show older comments
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 Comment
Walter Roberson
on 24 Oct 2023
What is size(AIT), size(LILT), size(ff) ?
Answers (1)
Walter Roberson
on 24 Oct 2023
AA.Constraints.one = permute(AIT, [3 1 2]) .* LILT == ff;
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!