sample data for hess-2019-205 submission
收藏资源简介:
Sample data for HESS-2019-205 submission Description: This file contains the event magnitudes and spacing for Cases 1 & 3 presented in the submitted manuscript to HESS titled "Recession analysis 42 years later - work yet to be done". CVS File: This file is an ordered set of the normalized event magnitude [-] and the start date fo the event (Time/Timescale [-]) Matlab File: The file is presented is in a .mat file extension created in Matlab. The data is divided into 3 columns: mag, value, and start_locs. The column of "Mag" defines the event magnitudes, which are log-normally distributed with a mean 1 of a standard deviation of 1. The column of "value" defines the event duration which has a mean of 2.5 and a standard deviation of 1. The "start_locs" column as the cumulative event durations that identify the start time of each event. Below is the associated Matlab code used to create the file: %% Matlab Code %% mag= lognrnd(1,1[number_of_events,1]); %create log-normally distributed dataset of event magnitudes for a defined number of events mag(mag<0)=1; %remove any negative magnitudes value=round(lognrnd(2.5,1,[number_of_events,1])); %create log-normally distributed dataset of event durations for a defined number of events value(value<=0)=1; %remove any negative durations start_locs=[2;cumsum(value)]; %create cumulative event start time-series



