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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -