matlab畫圖(直方圖,曲線,散點圖)

1. 比較直方圖 function compare_bar(all, sub) close all; step = 2; x = [-10:step:10]; bar_num = size(x,2); hist_all = hist(all,x); hist_sub = hist(sub,x); rate = hist_sub./hist_all; y = [hist_all;hist_sub];
相關文章
相關標籤/搜索