GNU Octave and MATLAB compatibility issues? [closed] - matlab

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I've been given Matlab scripts by my teacher for a technical report, I don't know the language yet (haven't had time at all but I'll figure it out ASAP), however it doesn't matter as I only need to run the scripts I've been given and check the plots.
I have no idea why, but everyone told me that both software run almost the same identical language, and yet the scripts I've been given rarely seem to work.
This happened repeatedly with other exams, and I know it has to be something with Octave because all my friends could run the scripts just fine on MATLAB (basically I get errors and I cannot get the plots with some of the scripts).
Now, I've been using GNU/Linux distros for years and would never go back to Windows. I'm fully aware that MATLAB runs on Linux and my University even gives me a license. However, I don't see the point in using a proprietary software like MATLAB when Octave SUPPOSEDLY works the same. I'm no Richard Stallman and I do occasionally run some proprietary software like Nvidia drivers or the Steam Client, etc, but if I can avoid it I'll avoid it.
So the issue is: do I really have to run MATLAB or can I just not figure out what's going on with Octave?
I even installed and loaded the MATLAB equivalent library I'm supposed to use for usual engineering scripts. I think it was the Control System Toolbox.
Any help would be appreciated.

Related

Do libraries exist for building operating systems? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
So I'm curious about this. I assume the building of operating systems is a monumental task, especially with all the back end stuff that an os involves. I was curious if I wanted to rework the front end of an operating system, but take advantage of existing architecture/backend, what would be the best resources to use? Also, can you guys point to any examples of well designed front ends of operating systems that aren't really mainstream? It seems like everyone uses pretty large well known OS.
Yes, you can. But like you said, it's a huge, huge task. I am not sure of windows or mac, but in Linux you have options to do so. You can download a Kernel from https://www.kernel.org/ and write applications around it.
If your goal is to make applications around the kernel, then look at linux application development resources. Check out linux desktop environments https://en.wikipedia.org/wiki/Desktop_environment#History_and_common_use to see which one is good.

Is MatLab worth buying? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I can access MatLab on school computers, but it would be more like a convenience factor as of right now. I want to get into programming using raspberry pi later on, but is it worth buying in the meantime? Will it be useful to me as a computer engineer? Thanks.
I have used Matlab as a student and employee for over 10 years now. I have recently taken an interest in Python as a free open-source alternative to Matlab and have been extremely impressed. Matlab is a very powerful and convenient tool, but has a significant cost, especially if toolboxes are needed. Python seems to cover all the same capability needs that I have in Matlab (with toolboxes), and if I ever need help doing something in python that I know how to do in matlab, I just do a quick google search and 9 times out of 10 I end up on this website, taking advantage of the questions that others have already answered.
With your question on Raspberry pi, it can actually run python code on board, but not the case for matlab.
I am not a computer engineer, but am of the opinion that python would likely benefit you more than matlab in the end as it is free, more widely used and can be used on devices such as raspberry pi. For reference, I have degrees in physics and electrical engineering and spend a great deal of time at work building optical sensors, operating them, and processing their data.
One more note: I like the Anaconda distribution of python, highly recommended

Download LIBSVM for Matlab on OS X Yosemite version 10.10.2? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Im looking to figure out how to download libsvm for matlab, I hear it is much quicker than the support vector machine matlab functions already in place?
Please note, the reason I'm answering this is because the documentation is not detailed enough and I had trouble installing LibSVM on OS X on my first try. After much tinkering, this is the best procedure I have come up with so far.
Yes, it is much quicker and more accurate for nonlinear kernels. Performance wasn't significantly difference from my experience for linear kernels. I'm running OS X v10.10.2 Yosemite as well.
Here are the instructions to install LibSVM:
Download the zip from their website and extract it if Safari hasn't already.
Install Xcode so that LibSVM can compile MEX
Restart/open Matlab. You need to open Matlab again for it to detect Xcode.
Use "cd" command to navigate the working directory to "LIBSVM_FOLDER/libsvm-3.20/matlab/". If you type ls, you should see "make.m".
Type "make" to run the "make.m" script.
The .mexmaci64 and .mexw64 files for libsvmread/libsvmwrite/svmtrain/svmpredict will be created. svmtrain/svmpredict are your Matlab functions that you can call from your Matlab console to use libsvm.
For more information, please visit
http://www.csie.ntu.edu.tw/~cjlin/libsvm/
Caveats/Notes
Use the help command to see the function's help text
You can rename these files to your liking to rename the function name
I renamed and created a wrapper functions around svmtrain/svmpredict called libsvmclassify/libsvmtrain to remain consistent with Matlab nomenclature and input format
Make sure to have these files in your working directory or "addpath" to them
Don't forget to cite their paper when you use LibSVM for research

Standalone Matlab program [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have heard that it is possible to make standalone programs using Matlab compiler.
It is good but I doubt that if someone can use the commands in the tool boxes and make a standalone program out of them otherwise one could make a program using optimization tool box and distribute it, then no body would pay for such a too box. Am I right? Is it possible to use the features available in tool boxes to make a standalone program in Matlab?
There are certain features in toolboxes which are not supported by MATLAB Compiler. These mainly include GUIs provided with the toolboxes, such as imtool, cftool, systemIdentification, pidTuner, etc... and things the Compiler itself, or code-generation tools such as MATLAB Coder. For an exhaustive list, see Support for MATLAB and Toolboxes on the MathWorks web site.
Note that for the end user to run the compiled MATLAB application, he first needs to install the MCR (MATLAB Component Runtime) on his machine. This is essentially a "headless" version of MATLAB which can only be called by the compiled application, and is freely distributable to end users by the person who has a license for MATLAB Compiler.

FreeMat : How different is it from Octave? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Have been looking for an alternative to MatLab...found working on Octave quite difficult...missing the debugging capabilities of MatLab...Came across FreeMat...wanted to know how is FreeMat different from Octave...is it just a graphical frontend to Octave like QtOctave (which I'm yet to explore) or is it more than that? What additional capabilities does it provide? What would be a better use of time - investing in FreeMat or makign do with Octave using tools like QtOctave (matlab not an option)?
In short, both GNU Octave and FreeMat are open-source alternatives to MATLAB. However, Octave is more mature and has wider community support.
I also found this interesting article that compares MATLAB, Octave, FreeMat and SciLab. It does point out a few issues against FreeMat:
It doesn't support some functions (such as kron and pcg).
It has limited 3-D graphics capabilities (e.g. no support for the mesh function).
It is also lacking in the ODE department, for not having a state-of-the-art solver.
Essentially, this article concludes that Octave is indeed the most compatible with MATLAB at present.
Now, if you're searching for a good GUI/IDE, try one of these.