GetNumsInAsciiFile(​sFName,varargin)

Read the numbers from an ASCII file, ignoring everything else.
37 Downloads
Aktualisiert 6. Apr 2018

Lizenz anzeigen

Call this function with the name of a text file, and it returns a vector of the numbers found in that file. This can be useful for reading the numbers from files with variable line formats. Use reshape(outNums,k,[])' to change the GetNumsInAsciiFile output vector into a two-dimensional array when reading text files with k numbers in each row.

Zitieren als

Jeff Miller (2024). GetNumsInAsciiFile(sFName,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/66692-getnumsinasciifile-sfname-varargin), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2013a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Programming 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.1.0.0

Added pre-whitening.

1.0.0.0