Importing and Exporting Data to and from Excel
ã¡ãã¥ãŒã衚瀺ããã«ã¯ã¹ã¯ã€ãããŠãã ãã
No one enters large data sets manually into Matlab, we import them! Matlab makes importing and exporting Excel data very simple, and we'll learn how to fill in a few parameters in a single line of code so that we can start importing and exporting data with Matlab and start solving real world problems with programming.
Task
Write a program that:
- Imports the chapter Excel file (
data sample.xlsx); - Calculates the average number of each animal type;
- Calculates the average species population on each farm;
- Exports the two sets of averages back to the Excel file in a location that makes sense;
- Exports headings to the Excel file to label the sets of averages calculated.
ãã¹ãŠæç¢ºã§ãããïŒ
ãã£ãŒãããã¯ããããšãããããŸãïŒ
ã»ã¯ã·ã§ã³Â 2. ç« Â 2
AIã«è³ªåãã
AIã«è³ªåãã
äœã§ã質åããããææ¡ããã質åã®1ã€ã詊ããŠãã£ãããå§ããŠãã ãã