Hi...how can i convert this part of mathematica code to matlab?
f=a(uold[[1]]-Total[(phi[[2;;j]]-phi[1;;j-1])/(sqrt[j-Range[1,j-1]]+sqrt[j-Range[2,j]])+sqrt[pi]uold[[1]]/4;
thanks
How about the other direction? Matlab to Mathematica?