search for: cut1

Displaying 4 results from an estimated 4 matches for "cut1".

Did you mean: cut
2013 Feb 01
2
Nested loop and output help
...to do so I fail miserably. Here is my current code : n <- seq(5,10,by=1) for(i in n) { z1 <- rnorm(n,mean=400, sd=70) z2 <- rnorm(n,mean=450, sd=90) cor <- runif(1,min=0.4, max=0.6) X <- z1 Y = cor*z1+(1-cor)*z2 mat1 <- cbind(X,Y) dev1 <- sample(-40:40, 1, replace=T) cut1 <- mean(X) + dev1 dev2 <- sample(12:54, 1, replace=T) cut2 <- mean(X) + dev1 + dev2 X2 <- X-cut1 Y2 <- Y-cut2 c3 <- cor(X2,Y2) mat2 <-cbind(X2,Y2) a11 <- ifelse( X < cut1 & Y < cut2, 1, 0) a12 <- ifelse( X < cut1 & Y >= cut2, 1, 0) a21 <- i...
2013 Jan 31
2
Writing audio files (.wav) in a different directory
...nute 101 of the 3-hour file) and saving it in an object "rec". Here is what I'm doing: filename<-"QUm0B24x_SMS05_20100831_052100.wav" min.ini<-100 min.fin<-101 library(tuneR) rec<-readWave(filename,min.ini,min.fin,"minutes") writeWave(rec,"cut1.wav") It is writing the file in the same directory of the "filename" object. What I want to do is to write the "cut1.wav" file in a different folder. Any suggestions? Thanks in advance! -- *Humberto Mohr* * * Mestrando do PPG-Ecologia do Instituto Nacional de Pesquisas...
2011 Apr 03
1
Asterisk 1.6 => No sound/voice when i redirect the call
Hi i use this into my extension : exten => _00339xxxxxxxx,1,Set(foo=${SIP_HEADER(To)}) exten => _00339xxxxxxxx,2,Set(cut1=${CUT(foo,:,2)}) exten => _00339xxxxxxxx,3,Set(CLI=${CUT(cut1,>,1)}) exten => _00339xxxxxxxx,4,Set(toexten=${CUT(CLI,@,1)}) exten => _00339xxxxxxxx,5,Noop(ORIGINAL NUMBER : [ ${toexten} ]) exten => _00339xxxxxxxx,6,AGI(Ddi-Network.agi,${toexten})...
2000 Oct 09
2
a listening test tool
"Willmore, David (VS Central)" wrote: > > Can ogg22pl take input from standard in? Sometimes leaving the file name > off will default it to that or by putting a '-' as the file name. Similar > things go for standard out. (stop me if these aren't familiar terms) Ogg22pl is is ogg123 with only the sampling rate variable changed. So if ogg123 can do that,