Mercurial > hg > camir-aes2014
comparison toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirdata/log.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e9a9cd732c1e |
---|---|
1 function y = log(x) | |
2 | |
3 d = get(x,'Data'); | |
4 e = cell(1,length(d)); | |
5 l = get(x,'Name'); | |
6 m = cell(1,length(l)); | |
7 | |
8 for i = 1:length(d) | |
9 e{i} = cell(1,length(d{i})); | |
10 for j = 1:length(d{i}) | |
11 e{i}{j} = log(d{i}{j}); | |
12 end | |
13 m{i} = ['log_' l{i}]; | |
14 end | |
15 y = set(x,'Data',e,'Name',m); |