What does this syntax/notation mean? En=[En sum(x(n-L+​1:n).^2.*w​in(1:L)')]​;

조회 수: 2 (최근 30일)
lanel
lanel 2015년 3월 11일
댓글: Stephen23 2015년 3월 11일
I understand the equation; I am not familiar with the notation of "En = [En ... ]" and can't find it with any search of help. What is the purpose of renaming the En inside the brackets?

채택된 답변

Michael Haderlein
Michael Haderlein 2015년 3월 11일
편집: Michael Haderlein 2015년 3월 11일
En=[En sum(...)]; is just extending En by one or more elements. Try:
>> x=rand
x =
0.2061
>> x=[x rand]
x =
0.2061 0.1467
>> x=[x rand]
x =
0.2061 0.1467 0.4125
>> x=[x rand(1,3)]
x =
0.2061 0.1467 0.4125 0.8414 0.8195 0.9931

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by