Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f =( 1/(A*sqrt(2*pi)) ) * exp(-0.5*((x-B)/A).^2 );
- plot(f)
- hold on
- [a,b] = max(f);
- plot(b,a ,'*r')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement