Rank: 21452 based on 0 downloads (last 30 days) and 0 files submitted
photo

Guyennon Nicolas

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Guyennon View all
Updated File Comments Rating
04 May 2011 Hurst exponent This is an implementation of the Hurst exponent that is simpler and quicker than most. Author: Bill Davidson

Navin,

Tomaso Aste has uploaded (18 Jan 2011) a code there : http://www.mathworks.com/matlabcentral/fileexchange/30076-generalized-hurst-exponent.

following the test proposed by hau and sen_saven gdsgds :

test=wfbm(0.8,100000);
genhurst(test) --> 0.7934 on a 7.9 R2009b 64bit
genhurst(test) --> 0.7926 7.0 R14 32bit

the code refer to T. Di Matteo et al. Physica A 324 (2003) 183-188 and has no rating until today (04/04/11)

24 Feb 2009 ADO OLE Database Connection Queries datasource and insers data into datasource. Author: Martin Furlan

Thanks a lot !!! Amazing work, even faster than Tim Myers code (oledb*.m)
I'm working with your toolbox to query access 2003 database.
I was looking for table, field and query information. Tooks me 4 days ... hope that could help someone else

%% get table name
sqltablename='SELECT name FROM MSysObjects WHERE Type=1 AND Flags=0 ORDER BY name';
tablename=adodbquery(cn,sqltablename);
%% get query name
sqlqueryname='SELECT name FROM MSysObjects WHERE Type=5 AND Flags=0 ORDER BY name';
queryname=adodbquery(cn,sqlqueryname);

note that in both case you should first change users authorization to read for MSysObjects opening your access database. ("user and group authorization" menu in tools)

the hardest part was to get fields or columns name ...

function field_name=tablefieldname(cn,table_name)
%% find all field name from table
sqlfiledname=['SELECT * FROM ' table_name];
invoke(cn,'BeginTrans');
r = invoke(cn,'Execute',sqlfiledname);
invoke(cn,'CommitTrans');
nbfileds=r.Fields.count;field_name='';
for ff=1:nbfileds
    fld=r.Fields.Item(ff-1);
    field_name=strvcat(field_name,fld.name);
end

bye
Nico

Contact us at files@mathworks.com