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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -