How to calculate the energy of the function tri(2t+5/6) using matlab? -
how calculate energy of function tri(2t+5/6) using matlab?[where tri triangular pulse function]
define trisqr square function , integrate on it:
trisqr=@(x) tri(x).*tri(x); xmin=-2; xmax=2; energy=integral(trisqr,xmin,xmax)
Comments
Post a Comment