フィルターのクリア

if i consider i=1:1000, what does ':' mean in x(i,:)

5 ビュー (過去 30 日間)
Nitesh
Nitesh 2015 年 8 月 17 日
回答済み: Torsten 2015 年 8 月 17 日
In a for loop what does : mean in x(i,:) if i consider i=1:1000??
my coding is:
t=20
for i=1:t
error(i,:)= errornew
end
Please help.
Thank you.

採用された回答

Torsten
Torsten 2015 年 8 月 17 日
It means that the first 20 rows of the matrix "error" are set to the vector "errornew".
Best wishes
Torsten.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by