how to resolve subscript mismatch error?

Subscripted assignment dimension mismatch (size [1 x 1] ~= size [:? x 1]).
LIP(:, 1) = temp(:);
temp = temp';
LIP(:, 2) = temp(:);

2 Commenti

What are dimensions of LIP, temp?
LIP=[4 1]
temp=[2 2]

Accedi per commentare.

 Risposta accettata

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by