可以参考normpdf函数,比如:% By lyqmathclc; clear all; close all;t = -20 :.1 : 20;y = normpdf(t, 2, 5.4);figure; plot(t, y);结果