フィルターのクリア

how to resolve subscript mismatch error?

1 回表示 (過去 30 日間)
Anu  Sri
Anu Sri 2019 年 3 月 12 日
コメント済み: Anu Sri 2019 年 3 月 12 日
Subscripted assignment dimension mismatch (size [1 x 1] ~= size [:? x 1]).
LIP(:, 1) = temp(:);
temp = temp';
LIP(:, 2) = temp(:);
  2 件のコメント
KSSV
KSSV 2019 年 3 月 12 日
What are dimensions of LIP, temp?
Anu  Sri
Anu Sri 2019 年 3 月 12 日
LIP=[4 1]
temp=[2 2]

サインインしてコメントする。

採用された回答

madhan ravi
madhan ravi 2019 年 3 月 12 日
LIP = repmat(temp(:),1,2);
  1 件のコメント
Anu  Sri
Anu Sri 2019 年 3 月 12 日
it worked..thankyou!! :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by