y = gaussmf(x,[sig c])
其中,c是位置参数,sig是尺度参数,控制图形的胖瘦。
x = 0:0.1:10;
y = gaussmf(x,[2 5]);
plot(x,y)
xlabel('gaussmf, P=[2 5]')
ylabel('gaussmf')
legend('gaussmf'); %添加图例代码
结果图
更多《计算机视觉与图形学》知识,可关注下方公众号:
y = gaussmf(x,[sig c])
其中,c是位置参数,sig是尺度参数,控制图形的胖瘦。
x = 0:0.1:10;
y = gaussmf(x,[2 5]);
plot(x,y)
xlabel('gaussmf, P=[2 5]')
ylabel('gaussmf')
legend('gaussmf'); %添加图例代码
结果图
更多《计算机视觉与图形学》知识,可关注下方公众号: