• Post Reply Bookmark Topic Watch Topic
  • New Topic

converting matlab gui to java app  RSS feed

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Marshal
Posts: 56610
172
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Posts: 56610
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 58
C++ Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may also look into the JAMA package - a basic linear algebra package for Java. Here is the link.
 
Tanmay Bhattacharya
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!