2

I'm in the process of analyzing a large chunk of data in matlab. The data is userdata which is freely available and which I want to use to make recommendations for users using my Internet service.

My question is: once I've written my algorithm in matlab what is the easiest/best way to integrate it into my php project /website?

Thanks in advance

11
  • Convert the algorithm to PHP code. Commented Mar 9, 2011 at 22:52
  • @GWW is PHP suited for matrix operations with large data set? stackoverflow.com/questions/573674/… this link say otherwise, converting it to Python seems to be the accepted answer there. So maybe Python? Commented Mar 9, 2011 at 22:54
  • @Flying Swissman: Call matlab from PHP then? Commented Mar 9, 2011 at 22:57
  • @GWW I don't want it to depend on matlab. Commented Mar 9, 2011 at 22:59
  • Of course I don't know why you don't want to depend on matlab but if license etc is the problem, maybe octave could be a good alternative for the server? Commented Mar 10, 2011 at 0:04

1 Answer 1

2

Well, it really depends on what you are using Matlab for. In many ways, doing the same matrix transforms in PHP or Python would be a pain. Hence you were using Matlab. You can however keep everything in Matlab form by using the Matlab Web Server.

Simply compile down to a binary that can be run on your server. See the examples supplied by Matworks.

Sign up to request clarification or add additional context in comments.

1 Comment

the link is broken. any idea where it was moved to?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.