Displaying 3 results from an estimated 3 matches for "vanhaelst".
2010 Mar 02
5
Random real numbers
Hi,
How could i generate random real numbers between 0 en 2*pi?
Thanks,
Frederik
[[alternative HTML version deleted]]
2010 Feb 26
2
sort columns
Hello,
i have a 50*100 matrix, with real numbers. How do i sort each column?
Now i sort it with a for-loop but this take a lot of time...
Thank you,
Frederik
[[alternative HTML version deleted]]
2010 Mar 03
1
error in R
Hi,
I want put some values in the last column of a matrix b. But every time
again there comes the same error on the screen...
> b <- array(0, c(5,5))
> m<-matrix(runif(20,0,2*pi),5) # the sinus of this kind of values i
want put in the last column of b, m is a 5*4 matrix
> n<-5
> for(i in 1:n){
+ a2<-1
+ for(k in 1: n-1){
+ a2<-a2*sin(m[i,k])
+ }
+