open mat-file 'price_energy_2020.mat' and search for the first 24 rows the smallest value in matlab
main.m
% Load the mat filedata = load('price_energy_2020.mat');
% Get the first 24 rows of the datafirst_24_rows = data.price_energy_2020(1:24);
% Find the smallest value in the first 24 rowssmallest_value = min(first_24_rows);