請位各位專家,我想畫附檔的圖片,搞了下面這程式但無法執行,請問哪裡出錯呢?
n=-8:0.2:8; %(Greek letter eta)
for ind=1:length(n)
if n(ind)>=-8
Fermi(ind)=((-1)/2)*sqrt(pi)*(polylog(3/2,exp((-1)*(n(ind))));
end
end
Ref2=semilogy(n,Fermi,'r','LineWidth',2,'LineStyle','--');
set(Ref2,'DisplayName','Ref 2');