hello.can anyone help me to plot this function in matlab(adsbygoogle = window.adsbygoogle || []).push({});

Q=quad(@(omeg)myfun(omeg,x,t),-20,20).im not sure if this is correct.my m file function goes like that

function y= @myfun(omeg,x,t)

y=besselj(1,omeg.*x).*cos(omeg.*t).*omeg;

thanks in advance

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab ploting

**Physics Forums | Science Articles, Homework Help, Discussion**