https://github.com/entron/snake-dmrg
Raw File
Tip revision: 5581575de60596a13ea45e4ac96e981b761d95c0 authored by Cheng Guo on 18 March 2015, 18:47:37 UTC
Update README.md
Tip revision: 5581575
plotsigmaz.m
sigmaz=0;
tau=0.5;
T=2000;
tarray=tau:tau:T;

folderlist=dir('ratio1.68*');
n=length(folderlist);
for k=1:n
filename=strcat(folderlist(k).name,'/results/sigmaz_t.dat');
if exist(filename)
    r=load(filename);
    sigmaz=sigmaz+r;
end
end

sigmaz=sigmaz/n;
plot(tarray,sigmaz,'-o');
back to top