www.gusucode.com > dsp 案例源码程序 matlab代码 > dsp/CodeGenerationFromASystemObjectExample.m

    %% sine of x
% this example is a dummy one as place holder

% Copyright 2015 The MathWorks, Inc.

x = [1 2 3]
y = sin(x);
plot(x,y)