Skip until import data
Vous suivez désormais cette question
- 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.
Une erreur s'est produite
Impossible de terminer l’action en raison de modifications de la page. Rechargez la page pour voir sa mise à jour.
0 votes
Partagez un lien vers cette question
Réponse acceptée
0 votes
Partagez un lien vers cette réponse
- learn to use Matlab
- the data file consists of consecutive blocks of headers and data
- a data block is a number of consecutive rows containing an equal number of "numerical strings"
- a header block is a number of consecutive rows, which do not belong to a data block
- cssm, main function
- getblocks, subfunction
- understand the code
- write comments
15 commentaires
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
- Try to use the markup features. That makes the text so much easier to read.
- You need to carefully read the help on STRCMP, STRFIND, and TEXTSCAN format specifier
- What rule should be used to decide where the "headers at the top" ends?
- "preserve" does that mean store in a separate variable?
- How shall "midfile headers" be identified?
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
- the first block of data contains three columns
- the second block of data contains four columns
- the lines "1" and " 0.456 0.456 456" belong to the middle header(?)
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
- learn to use Matlab
- present these specific data in a diagram. If so, clean-up the file interactively with an editor and read with IMPORTDATA
- develop a code to read data files, to which this is an example. If so, i) one need to better specify what kind of lines may occur in the files, ii) the code must be easy to maintain, i.e. modify when new files present unexpected features, iii) does the size and number of files make performance an issue
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Plus de réponses (0)
Catégories
En savoir plus sur Matrices and Arrays dans Centre d'aide et File Exchange
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
