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

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -