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 CenterFile Exchange 中查找有关 Software Development Tools 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by