1
運行程序後,我得到了loglik
的14個值,然後我將這些值繪製在兩行內。代碼如下:如何使用MATLAB識別圖中一條線下方的點?
loglik=[-3168.7176,-4644.451,-3759.7372,-1758.1307,-4813.0647,-4147.0188,...
-4330.944,-4612.9895,-3829.8987,-2687.4927,...
-4007.5629,-2799.527,-2747.96,4.386];
aH = axes;
plot(aH,loglik,'r.'); hold on;
threshold1=mean(loglik)+1*std(loglik);
threshold2=mean(loglik)+3*std(loglik);
plot(aH, aH.XLim, [threshold2, threshold2], 'r-');
plot(aH, aH.XLim, [threshold1, threshold1], 'r-');
現在,我想確定點數低於threshold1
。我怎樣才能做到這一點?
'loglik(loglik
GameOfThrows