Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3127
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!newspump.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail |
|---|---|
| From | "Stan" <Cystrin@hotmail.com> |
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Interval and IntervalIntersection with a List |
| Date | Thu, 16 Jun 2011 08:02:37 +0000 (UTC) |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Sender | steve@smc.vnet.net |
| Approved | Steven M. Christensen <steve@smc.vnet.net>, Moderator |
| Message-ID | <itcdat$d1e$1@smc.vnet.net> (permalink) |
| Lines | 39 |
| NNTP-Posting-Date | 16 Jun 2011 07:03:57 GMT |
| NNTP-Posting-Host | c9e8f384.news.twtelecom.net |
| X-Trace | DXC=f>VL;ij72?M06@:eWgm5?BC_A=>8kQj6M=_1NR_H?JPMAS>5b;NHTBCEFiONJ7[GoFabU_SWVhLLA |
| X-Complaints-To | abuse@twtelecom.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.soft-sys.math.mathematica:3127 |
Show key headers only | View raw
What I am trying to do is to determine the existence of one interval with
another and the existence of one interval with multiples of another.
For example, I have the following Intervals defined:
Band5=Interval[{824,849}];
Band8=Interval[{880,915}];
Band3=Interval[{1710,1785}];
Band2=Interval[{1850,1910}];
and I have a second pair of Intervals defined as:
Band38=Interval[{2570, 2620}];
Band40=Interval[{2300,2400}];
I now wish to test if my Band 38 Interval intersects with any of the Band5,
Band8, Band3 or Band2 Intervals (clearly it does not) and then with the the
second harmonics of the Band5/8/3/2 Intervals (i.e., 2*Band5, 2*Band8, etc.)
and then with the third harmonic of the same Intervals. Once I have done all
that for Band38, I want to do the same for Band40. And then, I would like to
test the second and third harmonic of Band38 and Band40.
So the sort of test I need to do is something like:
IntervalIntersection[Band5, Band 38]
IntervalIntersection[2 Band5, Band 38]
However, as there are 2^3 * 4^3 (=512) permutations to test, there must be
an easier thnt typing each equation separately. Can anyone suggest a way of
doing this please?
Thanks,
Stan
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Interval and IntervalIntersection with a List "Stan" <Cystrin@hotmail.com> - 2011-06-16 08:02 +0000
csiph-web