gusucode.com > matlab通信工程仿真源码(张德丰等编著)程序书籍 > matlab_code/matlab通信工程仿真源码(张德丰等编著)/第3章/comp.m
function y = comp(x) %ex4_3:comp(x) %comp(x):comp(x) = (x+2)^2*x %comp(x)returns value of the expression z = x+2; y = z^2*x; %end of function and return y