Question: The enclosed document lists nutritional facts for more than 2 7 0 0 fruits and vegetables or foods made with fruits and vegetables with a

The enclosed document lists nutritional facts for more than 2700 fruits and vegetables or foods made with fruits and vegetables with a serving size of 100 grams. Some of the data include the number of calories, the fat, protein, carbohydrate, sugar, and fiber content, as well as the vitamins and minerals for a 100-gram serving of these foods.
MyFoodData.xlsx darr
In a MATLAB program called nutrition.m open the file, read the data and perform the following:
In an infinite loop, ask a user to choose one of the following options:
Enter a food keyword. Write rite the code to find and display all foods containing that keyword and their nutritional facts. Display the results in an organized format.
Enter the name of a nutrition, a category, and an integer N . Write the code to find and display N foods with the highest value of the requested nutrition in the requested category. Display the results in an organized format. Also create a bar plot for the foods you find, where each bar represents the value of nutrition.
Quit the program.
(Note: Sunce you cannot access the excel file, please note that the food items are listed under carious groups. Group one food tems are called "Nuts and Seeds" , Group two food items are called "Fruit", group three food items are called "Beverages", and group four food items are called "Cereal")
Please be detailed in explaining what you did and include the code for this clearly. Thank you. If you are able to, you can also just provide a generalized code for this.
The enclosed document lists nutritional facts for

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!