search for: poly1

Displaying 3 results from an estimated 3 matches for "poly1".

Did you mean: poly
2003 Jun 17
2
Paste and namespace
Hi, my doubt is very simple. I'm sure I've seen someone using something like this before, but unfortunatelly my searches in the archives were useless. Well, I have some objects called after a name that has a number attached to it, varying. Let's say I have: > ls poly1 poly2 poly3 poly4 poly5 poly6 ... I would like to access these objects using a for(), in which I could do something like paste("poly",i,sep=''). For i = 4, for instance I get > paste("poly",4,=sep'') [1] "poly8" Which is a string. What command...
2010 Oct 25
1
calculate area between intersecting polygons
Dear list: I am trying to calculate the intersection area between two irregular polygons (see example data below). set.seed(1234) theta <- seq(0, 2 * pi, length=(100)) poly1<- cbind(c(0 + 1 * cos(theta) + rnorm(100, sd=0.1)), c(0 + 2 * sin(theta))) poly2<- cbind(c(0 + 2 * cos(theta) ), c(-1 + 1.5 * sin(theta)+ rnorm(100, sd=0.1))) plot(x, y, type = "n", , xlim=c(-5,5), ylim=c(-5,5)) polygon(poly1) polygon(poly2) My data correspond to geogra...
2010 May 05
1
Getting calee audio in Asterisk (real time)
Hello, I need to capture calee's audio in real-time in order to capture operator messages (I've written sound recognition software that works with Jack: http://github.com/Motiejus/SoundPatty/). Jack does the following: Incoming call audio -> audio in to jack, audio out from jack -> current Asterisk application Outgoing call audio <- current Asterisk application However, I need