similar to: The end of Matlab

Displaying 20 results from an estimated 11000 matches similar to: "The end of Matlab"

2010 May 08
1
matrix cross product in R different from cross product in Matlab
Hi all, I have been searching all sorts of documentation, reference cards, cheat sheets but can't find why R's crossprod(A, B) which is identical to A%*%B does not produce the same as Matlabs cross(A, B) Supposedly both calculate the cross product, and say so, or where do I go wrong? R is only doing sums in the crossprod however, as indicated by (z <- crossprod(1:4)) # = sum(1 +
2007 Jun 27
1
Matlab end operator
Dear list members, I use both R and Matlab and find that each has its own strengths. Matlab definitely has the edge when it comes to the interactivity of its graphs. In addition I find the little operator end extremely useful in indexing arrays. (as in x(1:end,) ) The notation is MUCH more cumbersome in R using nrow() and ncol() recursively (as in x[1:nrow(x), ] ). Is there a package that might
2004 May 28
5
vector normal to a plane
Hi All, (I have a degree in math, but I am too embarassed to ask my colleagues, so here goes:) I would like to get a vector normal (orthogonal) to a plane formed by two other vectors. In matlab I do this: v1 = [.4, .6, .8]; v2 = [.9, .7, .2]; nn = cross(v1,v2) (gives ~[-.48, .65, -.24] if I do R> cross(v1, v2), I get .94. Huh? Thanks for all your help, again. W
2002 Jun 12
3
How does R compares for speed?
Hi, For those who are interested, I have update my R benchmark (to version 1.5.0) and also to Splus 6. They are available at: http://www.sciviews.org/other/benchmark.htm. A comparison is made between Matlab (5.3 & 6), R 1.5.0, Splus 6 rel 2, O-Matrix 5.1, Octave 2.1.31, Scilab 2.6, Rlab 2.1 and OX 3.00 under Windows 2000 pro. Overall, R is not the fastest package, but it is one of the
2011 May 18
1
Convolution confusion:
Hi, I'm new to R, and I'm a bit confused with the "convolve()" function. If I do: x<-c(1, 2, 3) convolve(x, rev(x), TRUE, "open") = 9 12 10 4 1 But I expected: 3 8 14 8 3 (like in Octave/MATLAB - conv(x, reverse(x)) ) 3 2 1 x 1 2 3 = 3 2 1 0 6 4 2 0 0 9 6 3 = 3 8 14 8 3 The thing is, that "convolve(x, x, TRUE, "open")" works. For me
2007 Apr 10
2
Matlab import
Dear R-Experts, here again a question concerning matlab. With the command "matrixM=[1 2 3;4 5 6]" a matrix under Matlab was constructed. It was than stored with the command "save('matrixM.txt','matrixM')". Now I tried to import the data in R with the help of the command "Z=matrix(scan("Z:/Software/R-Programme/matrixM.txt"))" An error
2006 Dec 20
1
R.matlab question
Does anyone know how to solve this question about R.matlab? I am in windowsXP, my matlab is matlab 7.0.0 19920(R14) thanks, Aimin > matlab <- Matlab(host="localhost", port=9998) > if (!open(matlab)) throw("Matlab server is not running: waited 30 seconds.") Error in list("throw("Matlab server is not running: waited 30 seconds.")" =
2006 Dec 17
1
Start Matlab server in R 2.4.0
In order to start matlab server in R , I using the following commands getwd() setwd("D:\R_matlab") install.packages("R.oo") install.packages("R.matlab") install.packages("R.utils") library(R.matlab) Matlab$startServer() a minimized MATLAB Command Window come out, but I can't make this window become larger. Does anyone know why? I type
2006 Dec 30
2
Evaluating Entire Matlab code at a time
Hi. On 12/30/06, Bhanu Kalyan.K <kalyansikha at yahoo.com> wrote: > Dear Mr.Bengtsson, > > The steps you have suggested are working for single lines of matlab > statements. But, as i mentioned earlier, If i want to see the output of an > entire matlab code (say swissroll.m) then you suggested me to do > res <- evaluate(matlab, "swissroll"). > When i did
2007 Nov 17
3
R and reading matlab compressed files
Is there any way to read these files (standard .mat files, created by matlab version 7 onwards are compressed)? I know that R.matlab doesn't read them (it even says in the file MatlabServer.m "Matlab v7 saves compressed files, which is not recognized by R.matlab's readMat()" (lines 47-8)). I know I should be able to make R call Matlab and transfer data (not that I managed to
2010 Jul 30
4
transpose of complex matrices in R
Hello everybody When one is working with complex matrices, "transpose" very nearly always means *Hermitian* transpose, that is, A[i,j] <- Conj(A[j,i]). One often writes A^* for the Hermitian transpose. I have only once seen a "real-life" case where transposition does not occur simultaneously with complex conjugation. And I'm not 100% sure that that wasn't a
2004 Jun 25
2
Matrix: Help with syntax and comparison with SparseM
Hi, I am writing some basic smoothers in R for cleaning some spectral data. I wanted to see if I could get close to matlab for speed, so I was trying to compare SparseM with Matrix to see which could do the choleski decomposition the fastest. Here is the function using SparseM difsm <- function(y, lambda, d){ # Smoothing with a finite difference penalty # y: signal to be smoothed #
2008 Jun 19
2
Comparison between R and MATLAB
Hi R, Can I get a comparison between R and MATLAB? How is R efficient than MATLAB? Or what are the weaknesses of R compared to MATLAB? Thank you very much for your help, Shubha Shubha Karanth | Amba Research Ph +91 80 3980 8031 | Mob +91 94 4886 4510 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com This e-mail may contain confidential and/or
2003 Apr 03
2
Matrix eigenvectors in R and MatLab
Dear R-listers Is there anyone who knows why I get different eigenvectors when I run MatLab and R? I run both programs in Windows Me. Can I make R to produce the same vectors as MatLab? #R Matrix PA9900<-c(11/24 ,10/53 ,0/1 ,0/1 ,29/43 ,1/24 ,27/53 ,0/1 ,0/1 ,13/43 ,14/24 ,178/53 ,146/244 ,17/23 ,15/43 ,2/24 ,4/53 ,0/1 ,2/23 ,2/43 ,4/24 ,58/53 ,26/244 ,0/1 ,5/43) #R-syntax
2010 May 31
1
Matlab Speex library
Hello, How to decode speex encoded audio in Matlab if Google doesn't find a library in Matlab that does that? Do you know one? Can anyone tell me if Matlab can use a Speex implementation in another language? Maybe binaries? Thanks Jader Dias -------------- next part -------------- An HTML attachment was scrubbed... URL:
2004 Oct 07
8
Equivalents of Matlab's 'find' and 'end'
Sorry if these questions have been asked recently--I'm new to this list. I'm primarily a Matlab user who is attempting to learn R and I'm searching for possible equivalents of commands that I found very handy in Matlab. So that I don't seem ungrateful to those who may answer, I HAVE determined ways to carry out these processes in 'brute force' sorts of ways in R code,
2005 Jun 06
2
Porting Matlab code to R
Hello, I'm looking at porting code written for Matlab to R. However, I don't have sufficient knowledge of Matlab to know whether it's feasible or appropriate. If there is anyone who has any experience in this and could provide some advice, I'd be grateful. TIA, Peter [[alternative HTML version deleted]]
2009 Mar 03
2
R - MATLAB apply like function
Dear all, I very often use the R function "apply", for speedup purposes. I am now also using MATLAB, and would like to use the same kind of function. I have already asked MATLAB people, and the answer is : "vectorize"... but of course, this is not always possible. So, instead of using a FOR loop all the time, I tried using the bsxfun. So you R people, who might also use MATLAB,
2009 Aug 10
1
R to MATLAB translation
Hi, Is there any package out there that might help me with translating R code into MATLAB? Using RSiteSearch I found a bunch of "MATLAB stuff" but it all seems to go in the opposite direction, i.e., emulating MATLAB functions in R. Thanks in advance, Andy __________________________________ Andy Jaworski 518-1-01 Process Laboratory 3M Corporate Research Laboratory ----- E-mail:
2009 Jul 24
4
Cannot install Matlab 5.3 R11
Hi everybody: Thanks for reading. I'm a Linux Debian Lenny user. I'm trying to install Matlab 5.3 R11 through wine-1.0.1-174-gc4039bd. The SETUP.EXE runs correctly. The problem is when I enter the PLP (Personal License Password) required. I'm sure that the PLP is correct, but "matlab says not". The message is: "The PLP you have entered is incorrect. Check your PLP