Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms matlab

DateConvert

  • Category : matlab
  • Tags :
  • Update : 2012-11-26
  • Size : 5kb
  • Downloaded :0次
  • Author :z*****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
DateConvert: Simple but fast date conversion DateConvert converts the DATESTR(0) format to a date vector or serial date number and backwards. Matlab s DATENUM, DATEVEC and DATESTR accept a variety of inputs, but in consequence they are slow. If the input format is exactly known, the conversion can be much faster: DATENUM( 17-Oct-2009 11:08:23 ): 2.97 sec DateConvert( 17-Oct-2009 11:08:23 , number ): 0.039 sec => 1.3 (1000 loops, 1.5GHz Pentium-M, Matlab 7.7) DateConvert does*not* validate the input date as Matlab s date functions: DATEVEC( 32-Feb-2008 25:62:63 ) replies [2008 3 4 2 2 7], DateConvert( 32-Feb-2008 25:61:67 , vector ) replies [2008 2 32 25 61 67] ! So DateConvert is nearly trivial, but optimized for speed. I needed it for sorting 200 000 time stamps and reduced the time from 217 to 11 sec. Please run the unit-test TestDateVec to check validity and speed. Tested: Matlab 6.5, 7.7, 7.8, WinXP, 32bit. Pure Matlab code, so compat
Packet file list
(Preview for download)
DateConvert.m
TestDateConvert.m
license.txt
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.