Importing Data from Files Programmatically

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Hello I have about 100 csv files, i wish to get data from this and stre them in a unique variable and save it is individual matfile. i sthis possible ? with single csvread run over a lopp several time or dlmread or xlxread. and the numbers in the csv file are in german number system. is it possible to convert to english number system in matlab ?

srikarbeechu
Автор

Hello, I have used the import command to import an excel spreadsheet. I have two columns and several rows. The first row names the values beneath it where the rest of the rows are just numerical values. I want to use the command that matlab generated to start writing my code but I don't know how to call those rows. I will give an example;

Header   Z value
  1            7
  2            5.5
  3            4
  4            8
  5            11

These are just examples, but what I'm trying to do now is after the code is generated I want it to plot('Header', 'Z value') and I want it to create a best fit line. How do I set a value for each column?

tommyisditchdigger
visit shbcf.ru