Homework Question:
Prompt the user to select a day and a location based on the data provided. On the command window, output the day, location, and ice thickness [m] for that day. NOTE (avoid hardcoding): Your code should produce different results if the data for Ice changes. The options for the location or day chosen should change if the number of values in LocationID or Days changes.
load('MA2_data_2.mat');days1= string(Days);select_day1 = menu('Please select a day',days1(:));ice1 = string(Ice);select_loactionID = menu('Please select location',LocationID(:));
How do i get it to load ice based on the day and location chosen
Best Answer