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));

Antworten (2)

Roger Stafford
Roger Stafford am 21 Sep. 2014

0 Stimmen

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

Kategorien

Mehr zu Entering Commands finden Sie in Hilfe-Center und File Exchange

Tags

Noch keine Tags eingegeben.

Gefragt:

am 21 Sep. 2014

Beantwortet:

am 21 Sep. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by