Message Boards Message Boards

0
|
26116 Views
|
2 Replies
|
3 Total Likes
View groups...
Share
Share this post:

convert mathematica code to matlab

Posted 10 years ago

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

POSTED BY: Lili88 luca
2 Replies

How about the other direction? Matlab to Mathematica?

POSTED BY: Richard Rankin

The code you posted is not even valid Mathematica code. So will be even harder to convert it. But you can try 2 options. See the package ToMatlab , here is a link to how to use it and download it: http://mathematica.stackexchange.com/questions/63603/problem-in-downloading-tomatlab-package/63613#63613 and the second option for more up-to-date and more advanced features is to use http://matlink.org/

POSTED BY: Nasser M. Abbasi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract