Please clarify this statement?

var_temp(num_loc(k)+num_1(k) :end+num_1(k))=var_temp(num_loc(k):end); var_temp(num_loc(k)+1:num_loc(k)+num_1(k))=var_temp(num_loc(k));

回答 (2 件)

Roger Stafford
Roger Stafford 2014 年 9 月 21 日

0 投票

Read about the 'colon' operator here:
http://www.mathworks.com/help/matlab/ref/colon.html
and the 'end' array index here:
http://www.mathworks.com/help/matlab/ref/end.html

カテゴリ

ヘルプ センター および File ExchangeEntering Commands についてさらに検索

タグ

タグが未入力です。

質問済み:

2014 年 9 月 21 日

回答済み:

2014 年 9 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by