IntelliJ Java IDE
The moose likes Beginning Java and the fly likes converting matlab gui to java app Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "converting matlab gui to java app" Watch "converting matlab gui to java app" New topic
Author

converting matlab gui to java app

Tanmay Bhattacharya
Greenhorn

Joined: Feb 01, 2012
Posts: 6
hi i am new to java ,like i have absolutely no idea on the language ..although i know c/c++. I made this gui based application in matlab which uses functions such as bode() ,rlocus()etc....i want to convert this application to java so that i can upload it on a web domain . Is something like this possible?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 26720
Yes.

But it is probably easier to write it from scratch in Java™. You will only manage that if you know Java™, however. Always remember, Java™ isn’t C++ and C++ isn’t Java™.

And welcome to the Ranch
Tanmay Bhattacharya
Greenhorn

Joined: Feb 01, 2012
Posts: 6
thanks !
umm functions like bode and rlocus are available in java or will i have to write the code based on the procedure which i follow to find the bodeplot using a notebook and a pencil ?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 26720
You would have to google for bode() etc; I have never heard of them in Java™. You might have to write them yourself; I don’t know. Google for Apache Commons; there might be something there.

I know I appear discouraging, but I wouldn’t want you to start something which you cannot finish.
Jon Swanson
Ranch Hand

Joined: Oct 10, 2011
Posts: 105
One thing you might look into is R, which is a statistical language. If that looks to have the functions you need, then look into RJava, which provides methods either to call R from Java or Java from R, depending on which way you want to go.
Sebanti Sanyal
Ranch Hand

Joined: Nov 07, 2011
Posts: 58

You may also look into the JAMA package - a basic linear algebra package for Java. Here is the link.
Tanmay Bhattacharya
Greenhorn

Joined: Feb 01, 2012
Posts: 6
i goggled and found this.. will it be helpful in any way ? package in java is like a library in c++ right?
http://www.mit.edu/~6.302/pz/doc/pzapplet/BodePlotPanel.html
 
 
subject: converting matlab gui to java app
 
Threads others viewed
Project Idea
interacting java and matlab
Can we use matlab for developing graphic algorithms?
Tomcat crash when running native code... however same code runs in Eclipse perfectly with Tomcat
Ending a thread without ending the JVM