how to resolve subscript mismatch error?

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

Accepted Answer

madhan ravi
madhan ravi on 12 Mar 2019
LIP = repmat(temp(:),1,2);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!