MATLAB Online에서 열기 x = rand(1, 10); m = mean(x); axes('XLim', [1, 10],'NextPlot','add','Box','on'); plot(x,'b'); yline(m,'g'); text(10.01, m,'Mean',... 'Color','g',... 'HorizontalAlignment','left',... ...
MATLAB Online에서 열기 would something like this work? x = .03*randn(10000,1)+.34; [N,X] = hist(x,100); hfig = figure; bar(X,N) holdon; y = [0 1.2*max(N)]; center = mean(x); std1 = std(x); %center plot ...