Mercurial > hg > octave-nkf
comparison scripts/plot/draw/peaks.m @ 18834:a142f35f3cb6
doc: Fix unbalanced parentheses in documentation.
* errors.txi, install.txi, sparse.txi, vectorize.txi: Fix unbalanced
parentheses.
* data.cc (Fall, Feye): Fix unbalanced parentheses.
* rand.cc (Frandn, Frande): Fix unbalanced parentheses.
* amd.cc (Famd): Fix unbalanced parentheses.
* ccolamd.cc (Fccolamd): Fix unbalanced parentheses.
* DASPK-opts.in: Fix unbalanced parentheses.
* cplxpair.m, javamem.m, glpk.m, area.m, peaks.m, hgload.m, hotelling_test_2.m,
hgsave.m: Fix unbalanced parentheses.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 25 Apr 2014 15:49:03 -0700 |
parents | d63878346099 |
children | d59d052c9858 |
comparison
equal
deleted
inserted
replaced
18833:6113e0c6920b | 18834:a142f35f3cb6 |
---|---|
25 ## Plot a function with lots of local maxima and minima. | 25 ## Plot a function with lots of local maxima and minima. |
26 ## | 26 ## |
27 ## The function has the form | 27 ## The function has the form |
28 ## | 28 ## |
29 ## @tex | 29 ## @tex |
30 ## $$f(x,y) = 3 (1 - x) ^ 2 e ^ {\left(-x^2 - (y+1)^2\right)} - 10 \left({x \over 5} - x^3 - y^5)\right) - {1 \over 3} e^{\left(-(x+1)^2 - y^2\right)}$$ | 30 ## $$f(x,y) = 3 (1 - x) ^ 2 e ^ {\left(-x^2 - (y+1)^2\right)} - 10 \left({x \over 5} - x^3 - y^5\right) - {1 \over 3} e^{\left(-(x+1)^2 - y^2\right)}$$ |
31 ## @end tex | 31 ## @end tex |
32 ## @ifnottex | 32 ## @ifnottex |
33 ## @verbatim | 33 ## @verbatim |
34 ## f(x,y) = 3*(1-x)^2*exp(-x^2 - (y+1)^2) ... | 34 ## f(x,y) = 3*(1-x)^2*exp(-x^2 - (y+1)^2) ... |
35 ## - 10*(x/5 - x^3 - y^5)*exp(-x^2-y^2) ... | 35 ## - 10*(x/5 - x^3 - y^5)*exp(-x^2-y^2) ... |