Mercurial > hg > ltpda
view m-toolbox/test/LTPDA_training/topic1/mkDataFiles.m @ 52:daf4eab1a51e database-connection-manager tip
Fix. Default password should be [] not an empty string
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 07 Dec 2011 17:29:47 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
% Make the data files for Topic 1 of the LTPDA Training session. % % M Hewitson 04-02-09 % % $Id: mkDataFiles.m,v 1.1 2009/02/25 09:28:42 hewitson Exp $ % %% Simple 2-column ASCII file a = ao(plist('tsfcn', 'randn(size(t))', 'fs', 10, 'nsecs', 100)) a.export('simpleASCII.txt') %% Multi-column ASCII file a = ao(plist('tsfcn', 'sin(2*pi*1*t)', 'fs', 100, 'nsecs', 100)) b = ao(plist('tsfcn', 'sin(2*pi*2*t)', 'fs', 100, 'nsecs', 100)) c = ao(plist('tsfcn', 'sin(2*pi*3*t)', 'fs', 100, 'nsecs', 100)) d = ao(plist('tsfcn', 'sin(2*pi*4*t)', 'fs', 100, 'nsecs', 100)) e = ao(plist('tsfcn', 'sin(2*pi*5*t)', 'fs', 100, 'nsecs', 100)) out = [a.x a.y b.y c.y d.y e.y]; save multicolumnASCII.txt out -ASCII -double -tabs % END