Mercurial > hg > ltpda
view m-toolbox/test/LTPDA_training/topic1/mkDataFiles.m @ 35:4be5f7a5316f database-connection-manager
Suppress output messages on preferences loading and saving
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 16:20:06 +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