Slashdot Log In
MATLAB Programming Contest Winner Announced
Posted by
timothy
on Sat May 21, 2005 08:54 PM
from the cigars-all-around dept.
from the cigars-all-around dept.
gooru writes "The MATLAB programming contest winner has been announced. It is a semi-annual programming contest organized by the MathWorks. What makes the contest truly interesting is the final phase is open source. Contestants may submit as many entries as they want and can tweak other entries."
This discussion has been archived.
No new comments can be posted.
MATLAB Programming Contest Winner Announced
|
Log In/Create an Account
| Top
| 224 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
MORTAL MATLAB (Score:4, Funny)
contests... octave.. (Score:5, Informative)
(http://gnufans.net/)
While your attention is drawn to the non-free matlab, may I also point out Octave, the open source alternative freely (libre, beer) available on your machines.
On debian, apt-get search octav to see octave and extensions. Don't forget to install the additions octave-forge, etc. to get near-complete matlab equivalence. In some ways, it exceeds matlab, in some ways, it doesn't. And it is very compatible with matlab.
Re:contests... octave.. (Score:5, Informative)
(http://rustyp.freeshell.org/ | Last Journal: Tuesday April 29 2003, @09:22AM)
1) You can choose any editor you want to write your matlab code. You just need to run it in octave. Since octave has a command line interpreter, you can show the result with any editor that can display the results of a run command (emacs will do this, too)
2) Yeah...it has readline, but that's about it.
3) Poster asked, besides being free...this is part of the price.
4) Not true. Any code not written in C, which is a good many of the numerical algorithms Matlab includes, have available source so that you can integrate the algorithms into any finished products (Matlab is for prototyping).
Other than that, you're asking for more than is really needed to extend the functionality.
5) Octave has a code repository. If they like what you write they use it. In other words, you can contribute to Octave.
6) Your fault/FUD. It took me about ten minutes.
7) I didn't have to. More FUD? Obviously this isn't a universal procedure.
8) I've never looked at my License file. I never track what it's doing. This has never been an issue.
9) See issue #3
10) Is this even a reason?
11) See issue #4
12) Obviously you don't have very good reasons. I will present some good reasons after we get through this.
13) This is true of Matlab as well. Try typing "ls" in Matlab and see what happens.
14) See issue #3
Having said all that, let me tell you why you should be using Octave.
The biggest reason is the free as beer thing. Matlab+ all packages needed is astronomically expensive. It's a big deal. We're not talking Microsoft-who-sells-to-consumers expensive - we're talking big-contractors-who-work-for-Engineering-firms expensive. It's kind of like the difference in price between Oracle and Postgres.
However, SOMETIMES it's worth it. As an Engineering student, I've tried and used regularly Matlab's image toolbox, Matlab's neural net toolbox, and their symbolic toolbox, and compared it to the normal canned algorithms.
Matlab is very, very good. They put an extra polish on every algorithm they write. In general, they're better written, and produce more clever results than anything else. Keep in mind that I was dealing with underconstrained problems, so the issues where matters of estimation. Matlab got more accuracy or faster convergence out of it's canned algorithms than you'd get if you wrote them straight from the descriptions supplied by the algorithm's authors.
Having said that, it's quite likely that there are certain areas that Octave will probably eventually fall behind. Symbolic work is one, I think, since their symbolic toolbox is actually an interface to Maple's symbolic engine, which they rent.
Maple doesn't have the manpower to compete with the OSS people writing computer algebra systems. IMHO, right now it's about tied. Three years ago Maple was ahead.
Re:contests... octave.. (Score:4, Informative)
(http://gnufans.net/)
did you install octavre-forge? A lot of Octave is almost like the basic engine in comparison to forge, IMO... forge is like the car build on top of it...
See this page too:
FORGE PAGE [sourceforge.net]
and
my links [gnufans.net]
Be Wary of Conclusions about Programming Contests (Score:4, Interesting)
Now, this Matlab contest is positioned to lead to the same silly cries. So, allow me to present a link to Professor Matloff's excellent article [com.com] to head off any silly speculations about the decline of American technical prowess.
TLL280 in 13 seconds? (Score:3, Interesting)
I'm beginning to wonder if this was rather some sort of PR effort rather than a true programming challenge.
I Always Write my MATLAB Open Source (Score:4, Interesting)
(http://schestowitz.com/ | Last Journal: Wednesday December 07 2005, @01:31AM)
The Problem (Score:5, Informative)
For this contest, you will write the control program that each ant carries with it. Ants, being so small, have some limitations, of course. Each ant can carry no more than one sugar cube at a time. Further, each ant can only see her local vicinity. Your program, which is run sequentially for each ant, knows only what that ant knows. Thus you must bring about the best possible global outcome based only on local conditions. The ants don't have any memory as such, but they can leave behind a chemical trail to guide themselves and others across the sandbox landscape.
Your score is determined by how much progress you make moving food towards and into the anthills. Ideally your ants will move all the sugar cubes onto anthills. Practically this may not be possible; do the best you can. You receive credit even by moving one sugar cube one step closer to an anthill.
familiar contest with ants . . . (Score:3, Informative)
(Last Journal: Tuesday April 15 2003, @11:00PM)
Anyway, you want to find the shortest route that goes through n number of cities. I know in one variation of the problem you can't hit the same city twice, but I don't know if that constraint applied in this case. The ants leave a "pheremone trail" which evaporates after a certain amount of time. If the ants start out randomly choosing routes, but over time the routes with more software pheremone are reinforced, because the ant objects choose those paths preferentially.
Just how bad is MATLAB? (Score:1, Insightful)
Re:Just how bad is MATLAB? (Score:5, Insightful)
(http://www.ecogito.net/anil)
When did Matlab become commercial? (Score:4, Interesting)
(http://slashdot.org/~Asprin | Last Journal: Wednesday November 05 2003, @03:24PM)
When I last used Matlab, we used it just for the matrix calculator and, IIRC, it was free. When did it become a commercial product? Did I miss something or was just not paying attention back then?
Re:When did Matlab become commercial? (Score:4, Informative)
(http://www.perlworks.com/ | Last Journal: Monday January 06 2003, @05:06PM)
They ticked me off last year when we late for our subscription payment and they charged us 20% for an adminstration fee which accounted for around $3500.
This is why I read above about SciLab with interest. I would love to find a solution that meets our needs so can cancel our subscription and hopeful convince others where I work to convert.
Mathworks has achieved a sort of monopolist position with certain engineering and scientific fields and behaves accordingly
MATLAB is cool (Score:1, Insightful)
(http://www.radioshack.com/)
more alternatives to matlab (Score:2, Insightful)
(http://darin.csua.org/)
Stealing = collaborating? (Score:1)
I found it interesting that "steal" is used without any negative meaning. It's merely a shorter word for collaborating.
Consider that right now we are told regularly that all kinds of reasonable activities (p2p, using patented software algorithms, making backups of things we paid for, ...) are "stealing". The intention would be that stealing is a crime, and hence these reasonable activities need to prosecuted and what not. However, if a culture emerges where stealing means collaborating, this represents a major backlash for the copyright cabal.
I know, it's just words, but still...
open source for proprietary platform (Score:1)
In fact, the only thing that has made MATLAB valuable is that it is in widespread use and that everybody develops add-ons for it. As a numerical programming environment, it is technically considerably worse than available alternatives, both commercial and free.
Don't waste your time doing free work for MATLAB (or other arrogant companies like that). The same amount of time and effort would have been better spent contributing to one of the open source MATLAB alternatives, like Numerical Python [python.org] and Scientific Python [scipy.org].
MATLAB serial key cracker (Score:4, Funny)
(http://slashdot.org/)
It have a user friendly gui and everything, so I had hoped it had a chance.
yeah... 'cause their own code sucks... (Score:2)
For instance, their use of the single letter global variable (g, I believe it was) in one (or more) of their ODE solvers?
beh. MATLAB is like crack; as soon as you start using it you know you should take the time to find a *real* solution to your problems... but really, it is far easier to continue on down the path you are on...
No offence meant to the uber geniuses who create the algorithms. But that wouldn't generally be the folks at MATLAB, and when so, they (I hope) aren't the guys making it into crap code.
MATLAB is not a "programmer's" language... (Score:1)
Worst contest ever? (Score:1)
And the worst part is that, as far as I can tell, there's no prize money! No way am I spending hours racking my brain just to get a blue ribbon and help to advertise their product.
ICFP (Score:1)
Re:Down with MATLAB (Score:5, Informative)
(http://www.sff.net/people/Daniel.Dvorkin | Last Journal: Friday October 12, @01:42PM)
Re:Down with MATLAB (Score:4, Informative)
(http://gnufans.net/)
> Maybe someone already has... any suggestions?
Yes, octave.
Try Sci-Lab (Score:5, Informative)
I use Sci-Lab regularly. With Sci-Lab, I have no need to dole out bucks for the commercial version: Matlab.
Re:Try Sci-Lab (Score:5, Informative)
(http://gnufans.net/)
[2] Octave, on the other hand, is GPLed.
[3] As for signal processing, do see section 17 here:
http://octave.sourceforge.net/index/ [sourceforge.net]
Re:Down with MATLAB (Score:5, Interesting)
Despite all of the people who complain about Matlab being unstable and using up resources, I've always found that running the command-line version of Matlab is fast and stable. The GUI version has some nice features, but they usually aren't essential to the work that I do.
Can't get engineers to use anything else (Score:4, Informative)
Matlab is the Visual Basic of numerical computing -- a hodge-podge of grafted-on features. Yes, it gets a job done, yes it promotes code reuse because of the extensive numerical and graphing libraries, but as a "teaching language" it is weak on important concepts, and it is proprietary as all anything, turning engineering colleges into trade schools for MathWorks. And once engineering students glom on to it, you cannot, just cannot get them to use anything else.
I don't care if they implement a numerical algorithm in C++ or if they implement a numerical algorithm in Java -- both of those languages are pretty much callable from anything else on a wide variety of platforms. Yeah, you can call into Matlab too, but is there a free runtime you can download like with Java? And any kind of numerical algorithm using looping instead of built-in vector operations is going to be dog slow, so it is useless for any "production" use (in an academic environment, production use is where you throw a problem at it that taxes the capacity of whatever generation computers you have -- otherwise it is a toy numerical problem where everything you can discover with it has already been done.)
Re:open source? (Score:2)
(http://www.ferion.net/ | Last Journal: Monday May 06 2002, @02:16AM)
Are you guys really that zealous about what OSS code is? It's a simple programming contest, not a web browser.
not a troll -- MW is more evil than M$ (Score:5, Interesting)
(http://slashdot.org/~EccentricAnomaly/journal | Last Journal: Wednesday May 03 2006, @10:12AM)
Matlab costs about $3500... but at my work, somehow it costs $70,000 a year because of some weird ass licensing scheme matlworks sticks large government labs with. I've tired to convince my project that for that money it makes more sense just to hire programmers to add whatever features we need to octave and go tell mathworks to fuck themselves.
Oh, and by the way... all of that money is still not enough to get you bug reports noticed. For that you need to pay for some sort of premiere program.
Re:not a troll -- MW is more evil than M$ (Score:4, Interesting)
(http://slashdot.org/)
One day a business man came along and convinced the creator to leave academia in order to exploit his open source creation by closing the source and selling it to existing users.
Ten years later, Mathworks is a semi-monopoly in numeric computing in academia.
Re:Does one of the entries... (Score:3, Informative)
(http://www.rupture.net/~prioret)
Or do you mean address the first element with 0? Who cares if you start with zero, get used to it and move on.
If you use Matlab in a Unix enviornment ^c works.
SCILAB open source alternative (Score:1)
On thing sucks... the syntax is different from MATLAB. You cant use MATLAB "scripts" without heavily modifying them first. Curly brackets, or braces around vectors? Spaces or commas between vector elements? You have to find out and reprogram your brain
SCILAB is available debian package. In gentoo just run "emerge scilab". I dont know about other distros, or BSD.
Re:open source? (Score:2)
(http://www.xmunkki.org/)