Test for median equals 0 using rank test
[pval, ranksum] = test1r(x)
Test for median equals 0 using rank test This is called the signed rank test. It is two sided. If you want a one sided alternative then devide pval by 2.