Function Approximation and Interpolation
Given: f(x) = exp(-x^2) on the interval [-1; 1]. Need to: Approximate f(x) by a 9-degree monomial basis polynomial interpolant...
3 maanden ago | 1 answer | 0
Implementation of grid search for a function
I am trying to run a grid search and find x*. but it gives me "Not enough input arguments". funktion = @(x) sqrt(x) + 2*sqrt(1-...
4 maanden ago | 0 answers | 0
Writing a math equation.
I want to write a math equation sin(1+x) and plot it. 1. I did it in this way: funktion = @(x) sin(1+x); fplot(funktion,[0 pi...
4 maanden ago | 2 answers | 0