Rank: 9288 based on 0 downloads (last 30 days) and 0 file submitted

Jianglin MA


Personal Profile:


Watch this Author's files


Comments and Ratings by Jianglin MA
Updated File Comments Rating
20 Oct 2009 MATLAB R-link Functions for calling the statistical package R from within MATLAB. Author: Robert Henson

Reply to Martin Heroux:
You can change your code in this way, and it will work.
status = openR;

% Running a simple K-S test to determine whether two samples have the same distribution
a = rand (100,1); % creating a random signal
i = pi/100 :pi/100: pi;
b = (sin (i))' + a; % creating second signal

% Putting both signals into R

% Running ks.test in R and retrieving the output
evalR ('output <- ks.test(a, b)')
getRdata ('output')


Contact us