[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to extract sequenced data from an array?
From: |
Francesco Potortì |
Subject: |
Re: How to extract sequenced data from an array? |
Date: |
Thu, 23 Dec 2010 12:50:21 +0100 |
Maybe you are looking for something like this?
octave> a=[1 7 3 8 5 6 1 0 8 7 6 3 9 7 1 7 3 8 5 8 3 2 1 5 6 9 8 7 4 0 2 3];
*********___________________*********__________________________
octave> c=conv(detrend(a),detrend([1 7 3 8 5]))
c =
Columns 1 through 7:
8.06818 -16.47012 17.40918 -25.08065 23.90000 -15.20000 21.20000
Columns 8 through 14:
-9.00000 -12.00000 3.50000 -6.30000 18.40000 -16.20000 11.10000
Columns 15 through 21:
0.80000 -7.60000 15.60000 -28.20000 23.90000 -19.20000 23.40000
Columns 22 through 28:
-10.40000 9.20000 -16.40000 1.50000 -9.30000 11.00000 0.40000
Columns 29 through 35:
10.40000 3.80000 -7.90000 -1.80000 -9.72419 4.19593 0.55621
Column 36:
2.44545
octave> find(c>max(c)*(1-sqrt(eps)))
ans =
5 19
--
Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR Fax: +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa Email: address@hidden
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/
- Re: How to extract sequenced data from an array?, (continued)
- Re: How to extract sequenced data from an array?, new_user, 2010/12/22
- Re: How to extract sequenced data from an array?, Doug Stewart, 2010/12/22
- Re: How to extract sequenced data from an array?, Andy Buckle, 2010/12/22
- Re: How to extract sequenced data from an array?, fork, 2010/12/22
- Re: How to extract sequenced data from an array?, new_user, 2010/12/22
- Re: How to extract sequenced data from an array?, fork, 2010/12/22
- Re: How to extract sequenced data from an array?, new_user, 2010/12/22
- Re: How to extract sequenced data from an array?, Doug Stewart, 2010/12/22
- Re: How to extract sequenced data from an array?, new_user, 2010/12/22
- Re: How to extract sequenced data from an array?, Doug Stewart, 2010/12/22
- Re: How to extract sequenced data from an array?,
Francesco Potortì <=
- Re: How to extract sequenced data from an array?, Sergei Steshenko, 2010/12/22
- Re: How to extract sequenced data from an array?, new_user, 2010/12/22
- Re: How to extract sequenced data from an array?, Doug Stewart, 2010/12/22
- Re: How to extract sequenced data from an array?, Przemek Klosowski, 2010/12/22
- Re: How to extract sequenced data from an array?, Kim Hansen, 2010/12/31
- Re: How to extract sequenced data from an array?, Ghostly, 2010/12/31
Re: How to extract sequenced data from an array?, veryhappy, 2010/12/23