Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: matlab / scilab / octave

  1. #1
    Join Date
    Oct 2004
    Location
    Netherlands
    Beans
    2,983
    Distro
    Ubuntu 8.04 Hardy Heron

    matlab / scilab / octave

    Hi,

    I haven't tried scilab nor octave yet. I have a couple of questions :

    * If someone (for example a teacher) requires matlab code. Can I produce code using octave/scilab which will fully work (guaranteed) on matlab ?

    * Is it easy/feasible to work together on code with people who might insist on using matlab (when I use scilab/octave) ?

    * Is there some tutorial for working together with matlab ?

    thanks guys
    Last edited by ubuntu_demon; August 30th, 2006 at 10:33 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    UK
    Beans
    397
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: matlab / scilab / octave

    Hi,

    I personally can't answer your questions. I've never really used Matlab, though I have an engineer colleage that uses it daily for his job so I suppose I could ask him.

    What I really wanted to tell you is not to install the version of scilab in multiverse. It was buggy for me (fonts basically) and it is pretty outdated (over 1 year old). The binaries work OK, and compiling it isn't difficult at all. You will probably have to chmod $USER:$USER ~/.scilab, though
    Now on... Thinkpad T400

    Latest news for radeon and/or radeonhd:
    ATI R600g Gains Mip-Map, Face Culling Support, 30th July 2010

  3. #3
    Join Date
    Oct 2004
    Location
    Netherlands
    Beans
    2,983
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: matlab / scilab / octave

    Quote Originally Posted by Miguel View Post
    Hi,

    I personally can't answer your questions. I've never really used Matlab, though I have an engineer colleage that uses it daily for his job so I suppose I could ask him.
    Please ask him
    Is he using octave/scilab at home and matlab at work ? Is that easily possible and productive ?

    Quote Originally Posted by Miguel View Post
    What I really wanted to tell you is not to install the version of scilab in multiverse. It was buggy for me (fonts basically) and it is pretty outdated (over 1 year old). The binaries work OK, and compiling it isn't difficult at all. You will probably have to chmod $USER:$USER ~/.scilab, though
    thanks

  4. #4
    Join Date
    Dec 2004
    Location
    Finland
    Beans
    76
    Distro
    Ubuntu Development Release

    Re: matlab / scilab / octave

    I think that basic syntax is pretty much the same. But, there is probably quite lot functions in matlab which won't work in scilab, for example. I did one quite big project with matlab, and tried to run it in linux/scilab, but that caused too much trouble. I had used matlab-specific complicated functions which weren't available in scilab.

  5. #5
    Join Date
    Mar 2005
    Location
    UK
    Beans
    397
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: matlab / scilab / octave

    Quote Originally Posted by ubuntu_demon View Post
    Please ask him
    Is he using octave/scilab at home and matlab at work ? Is that easily possible and productive ?

    thanks
    I've just sent him an e-mail. He answers pretty fast, though he will probably be having his lunch now.

    However, I fear I haven't explained myself. He uses Matlab exclusively (or so I thought), however he has quite a decent knowledge of it so I hope he or someone around him has some experience and can enlight us.
    Now on... Thinkpad T400

    Latest news for radeon and/or radeonhd:
    ATI R600g Gains Mip-Map, Face Culling Support, 30th July 2010

  6. #6
    Join Date
    Aug 2006
    Beans
    5

    Re: matlab / scilab / octave

    Quote Originally Posted by ubuntu_demon View Post
    * If someone (for example a teacher) requires matlab code. Can I produce code using octave/scilab which will fully work (guaranteed) on matlab ?
    No, the scilab code is different from Matlab. There is an assistant translator Matlab => Scilab (not the other way). I don't know for Octave.
    You should ask to your teacher if you can use Scilab (which is free and opensource) instead of matlab.

    Quote Originally Posted by ubuntu_demon View Post
    * Is it easy/feasible to work together on code with people who might insist on using matlab (when I use scilab/octave) ?
    It should be OK.

    Quote Originally Posted by ubuntu_demon View Post
    * Is there some tutorial for working together with matlab ?
    It is not exactly what you are looking for but it might help you :
    http://www.scilab.org/doc/demos_html/node265.html

  7. #7
    Join Date
    May 2006
    Location
    Austria
    Beans
    236
    Distro
    Ubuntu 6.06

    Re: matlab / scilab / octave

    i am quite sure you already stumbled across this:
    http://www.scilab.org/faqV1.2/faq1.2013.html

    i tried to convert a few matlab scripts to scilab scripts and it didnt work well at all. it was basically reading some files and then doing some filtering and fft on it.

    if you can manage to do just some basic matrix manipulation i think it works well together, everything beyond that might be quite tricky.

    my knowlege in scilab is still quite limited but the differences are obvious and make it difficult to share scripts but the general syntax and even quite a big bunch of commands are the same.

  8. #8
    Join Date
    Apr 2006
    Location
    in the dark
    Beans
    1,513

    Re: matlab / scilab / octave

    I suppose it depends on what you want to do with the code. Most of the code for octave is the same in matlab (note I said most code). So I suppose it cant be guaranteed. Some of the plotting is different but for what Ive done it works the same in both.

    I use Koctave and mousepad to do all my octave/matlab programming, for some reason I dont like the text editor in koctave. If you want a matlab replacement you should use octave.
    Imagination is more important than knowledge

  9. #9
    Join Date
    Nov 2005
    Beans
    270
    Distro
    The Feisty Fawn Testing

    Re: matlab / scilab / octave

    I don't know anything at all about Scilab, but I'm a mechanical engineering student and I use Octave exclusively for my "Matlab" assignments. I've never had any problems doing this, and I've even used it in group projects where other members of the team ran my code in Matlab without any trouble. I'm sure there are some things that aren't 100% compatible, but as long as you stick to basic operations and stay away from Matlab's proprietary functions (like ode45), you should be fine.

    And I have no idea why any college would suggest using Matlab when there is an open source (therefore free, free, and peer reviewed) alternative. And I'm especially confused by college students who would rather spend $100 on a temporary license than download Octave for free, even after being shown the website, and even though there is now a pre-packaged Windows version. Must have more money than me.

  10. #10
    Join Date
    Nov 2005
    Beans
    270
    Distro
    The Feisty Fawn Testing

    Re: matlab / scilab / octave

    Quote Originally Posted by slimdog360 View Post
    I use Koctave and mousepad to do all my octave/matlab programming, for some reason I dont like the text editor in koctave. If you want a matlab replacement you should use octave.
    Mousepad? Blasphemy! Kate, with the embeded Konsole, is your friend.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •