Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
'adaptive.m' allows to efficiently sample a function using a reduced number of points. It works by iteratively adding new points where needed. It is especially useful for functions which are computationally intensive (e.g. involve solving a differential equation).
Examples:
% using default options
[xi, yi] = adaptive(@(x) sin(x)*sin(2*x), [-20,20]);
% explicitly providing initial array an refinement option
f = @(x) exp(-x.^2/4).*sin(3*x);
[xi,yi] = adaptive(f, [ -5:5], 'minAngle',0.8*pi);
Citation pour cette source
Alberto Comin (2026). adaptive (https://fr.mathworks.com/matlabcentral/fileexchange/61209-adaptive), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.0.3.0 (159 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.3.0 | fixed default settings |
||
| 1.0.2.0 | minor fixes |
||
| 1.0.1.0 | 1) new default when called without optional arguments
|
||
| 1.0.0.0 |
