I am running a code on autocorrelation in my MATLAB console but it is giving error. Can anyone point out the issue and how to fix it?

1 回表示 (過去 30 日間)
a = load('60lowfreehigh.lvm');
>> N = 50;
>> y = a;
>> z = a;
>> for i=1: N-1
for i=N-1:-1:1
a(i+1)=a(i);
end
x(1)=0;
a(1)=0;
z = [z;a];
end;
>> m=[z]*[y]';
The above code is returning the error;
Out of memory. Type HELP MEMORY for your options.
What is the problem and how can I fix it?
Thanks,
Anuradha

回答 (0 件)

カテゴリ

Help Center および File ExchangeSoftware Development Tools についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by