Datenum
UTC time (universal time convention) is used in ANSI-C standard for defining time. This is measured in seconds since 1970, at the Prime Meridian.The UTC2Datenum_array function takes a M x 1 array of UTC time values and converts it to a M x 1 array of Matlab serial Time values.This code is derived...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Convert Time Array to a Datenum Array Download |
Purpose: Returns the modification date (datenum) of a fileUsage: file_datenum = filedatenum('myfile.dat')Author: Charles Plum, Varolii Corp, 21 August 2009Not elegant but it works ...Had to check for files in a loop ...written in haste but really does the trick ...could not find a similar Matlab...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): filedatenum Download |
moonpos calculates the moon position using the method in the bookAstronomical Algorithms by Jean Meeus, Chapter 45, pp 307 - 313. Thealgorithm used is accurate to about 10 arcsec in longitude and 4 arcsecin latitude according to the book, although the time range is notmentioned. The periodic...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (46): Moon Position Download |
This function gives the datenum 'time' and the matrix 'M' of theradiosoundings read in the input file, obtained as ascii text by'cut and paste' from 'http://weather.uwyo.edu/upperair/sounding.html'.The input file can contain an arbitrary number of radiosoundings.The 'station_id' is the number of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): read_RWS Download |
It uses a Log Pearson Type-3 distribution for estimating quantiles.NaN need to be removed in the dataset. If any years have missing data, it will still assume to include that year as part of the sample size-- as stipulated in 17B guidelines. An exmaple MAT file is provided for the user to test. A...
Platforms: Windows, Mac, *nix, Matlab, Solaris
License: Freeware | Download (57): Flood Flow Frequency Analysis 1-6-2009 Download |
As I could find no built-in function nor reliable contribution to achieve that, I had no choice but to write my own, leveraging the GregorianCalendar Java class.Usage is quite simple: targetDST = TimezoneConvert( dn, fromTimezone, toTimezone )The datenum dn corresponds to the datetime you want to...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (38): Convert between world time zones with daylight saving times Download |
>> help timeidx TIMEIDX returns numeric index given time string. D = TIMEIDX(T) returns index value in relative days which is suitable for DATENUM math. To work in hours multiply by 24, for seconds multiply by 24*3600, etc. T can be a time string (DD:HH:MM:SS) where DD, HH and MM are...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Time index Download |
This program places dates on time axis as DATETICK and works with ZOOM and PAN as DATETICKZOOM by Christophe Lauwerys. But, it also shows the full date after zooming or panning by using the ticks and time-axis label. So, if you zoom in down to second, you won't loose "when" you are.The input...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): tlabel.m (Sep 2009) Download |
cThe Standard for the Exchange of Earthquake Data (SEED) is an international standard format for the exchange of digital seismological data. SEED was designed for use by the earthquake research community, primarily for the exchange between institutions of unprocessed earth motion data. It is a...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Read miniSEED file Download |