Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. f =( 1/(A*sqrt(2*pi)) ) * exp(-0.5*((x-B)/A).^2 );
  2. plot(f)
  3. hold on
  4. [a,b] = max(f);
  5. plot(b,a ,'*r')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement