math_nonlinear_vector | R Documentation |
Function returns a vector of length n
. The first value of the returned vector is c_start
and the last value is c_end
.
The calculation is done accordingly: c_{end}=c_{start}a^{n−1}
=> a=\frac{c_{end}}{c_{start}}^{\frac{1}{n-1}}
so the returned vector will be calculated with: c_{start}\cdot a^{(0:(n-1))}
math_nonlinear_vector(c_start, c_end, n)
c_start |
value of first value of returned vector |
c_end |
value of last index of returned vector |
n |
length of returned vector |
vector of length n
Florian Wagner florian.wagner@wagnius.ch
math_nonlinear_vector(1000,100000,8)
math_nonlinear_vector(1000,100000,8)|>plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.