Selecting two different periods for variable / calibration data
Ältere Kommentare anzeigen
lets say I have a range of data between 1st Jan 2004 and 31st Dec 2007
Currently the script I am using uses the following code to select the calibration period:
A = find(T==datenum([2004 1 1 0 0 0])):find(T==datenum([2005 12 31 00 00 0]));
This uses data between 1/1/2004 and 31/12/2005 (or 12/31/2005 in American speak).
However, I wish to add an addition time period into this, so that A = 1/1/2004 to 31/12/2005 and at the same time includes 1/1/2006 to 6/6/2006
Matlab is certainly not a strong point of mine as you may have guessed - however I'm in urgeant need for my masters thesis so help is greatly appreciated!!
Many thanks,
P
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Programming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!