环境: VS2010  Matlab2010

首先,

编写一个函数集的.m文件。函数名称:class_netbuilder_func

1 function y = class_netbuilder_func(f)
2   t = linspace(0,1,400);
3   y = sin(2*pi*f*t);
4   plot(t,y);
5 end
View Code

相关文章: