Text-only
Table of Contents (
frame
/
no frame
)
(23) Exercise1
Exercise 1 - Analyze weather data
Load weather data
>>
load weather
data consists of
time vector
w_data matrix contains 3 columns temperatures, pressure and humidity
Index into w_data to get the column of temperature data ( first column)
Find the maximum temperature
Sort temperature from low to high
Sort time so the result matches the sorted temperature indicies
Find the time that the maximum temperature occurred
Hints:
help sort
[b,i]= sort(a)
Try:
>> index_mat
Exercise1.src last modified Sep 29, 2009
Introduction
Table of Contents
(
frame
/
no frame
)
Printable
(single file)
© Dartmouth College