• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

converting matlab gui to java app

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 75615
354
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 75615
354
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 253
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Eclipse IDE C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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's a tiny ad only because the water is so cold.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic