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 Exchange에서 Entering 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