Watch this Author's files
Thanks.
Here is the data: x1 = 3010 1 1733 1 2797 1 334 0 3678 1 3314 1 4378 1 3253 1 1672 0 3709 1 1642 1 3040 1 2827 1 and x2 = 1955 1 1808 1 2037 1 3136 1 938 0 3497 1 2858 1 3832 1 3256 0 2933 0 5054 1 927 0 3795 0 4155 1 3304 0
sorry for the late reply.
I get this error: Matrix dimensions must agree.
Error in ==> logrank at 157 K=find((table12(:,1)<table(c(I),1) & table12(:,1)>=table(J,1)),1,'last');
I debugged it and J=[] .
Contact us at files@mathworks.com