PEEK

a simple evaluation monitor utility
466 Downloads
Aktualisiert 29. Okt 2013

Lizenz anzeigen

PEEK is a general-purpose evaluation monitor that records and outputs any input values that are passed to it. This is useful for monitoring the function evaluations performed by general numerical routines such as QUAD or FMINSEARCH.

PEEK works in much the same way as SOW/REAP in Mathematica.

Basic example:

f = @(x)sin(x);
fpeek = @(x)peek(f(x),x);
quad(fpeek,0,pi);
[fq,xq] = peek()

See the help file for further examples.

Zitieren als

Ben Petschel (2024). PEEK (https://www.mathworks.com/matlabcentral/fileexchange/44120-peek), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2011a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Testing Frameworks finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0