What does this syntax/notation mean? En=[En sum(x(n-L+1:n).^2.*win(1:L)')];
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
lanel
am 11 Mär. 2015
Kommentiert: Stephen23
am 11 Mär. 2015
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?
1 Kommentar
Akzeptierte Antwort
Michael Haderlein
am 11 Mär. 2015
Bearbeitet: Michael Haderlein
am 11 Mär. 2015
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!