Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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:

Réponses (1)

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

Catégories

En savoir plus sur Get Started with Optimization Toolbox dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by