• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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: 79648
380
  • 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: 79648
380
  • 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: 265
  • 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
 
Don't sweat petty things, or pet sweaty things. But cuddle this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic