Displaying 2 results from an estimated 2 matches for "goteti".
Did you mean:
goetz
2012 Aug 24
6
updating elements of a vector sequentially - is there a faster way?
I would like to know whether there is a faster way to do the below
operation (updating vec1).
My objective is to update the elements of a vector (vec1), where a
particular element i is dependent on the previous one. I need to do this on
vectors that are 1 million or longer and need to repeat that process
several hundred times. The for loop works but is slow. If there is a faster
way, please let
2012 Aug 27
1
total CPU time in Matlab - what is the equivalent in R?
I am trying to compare the speed of my R code with that reported by the
authors of a reference paper who used Matlab. The authors of the paper
state "Total CPU time for the algorithm was 10 s for the ...on a modest
mobile 2.2 GHz Pentium processor running MATLAB v.6".
I am using proc.time (similar to the example shown in ?proc.time) to
determine the speed of my R code. Could someone