[minirant] wtf MATLAB, WTF!

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

randumb

Platinum Member
Mar 27, 2003
2,324
0
0
Originally posted by: eLiu
Originally posted by: randumb
Originally posted by: jiggahertz
Originally posted by: randumb
Originally posted by: eLiu
Originally posted by: notposting
PEBKAC = Problem Exists Between Keyboard And Chair....aka the user.

No wai! I'm infallible! haha

hypn0tik, yeah I know. Esp this new version (2007a). I've had more weird problems with this than any other version of matlab. The other day one of my coworkers had a weird dimension mismatch error. After looking through the code, we found nothing so I asked her to run it again for kicks... and voila, it worked the 2nd time. Srsly.

Yeah, I hate MATLAB. Besides buggy behavior, the interface is slow and the syntax is inconsistent. How did this become the standard tool in CS/Engineering?

Rapid prototyping and the ease of use for matrices/visualization/data manipulation.

There are plenty of other tools available that are better IMO. In bioinformatics research for example, R has become extremely popular.

What would you suggest for working with ODEs (ivp & bvp) or linear algebra? I mean there's Octave, but it isn't much different... ODEs in Maple can be pretty awkward (not to mention slow), and linalg is even worse. You could fire up FORTRAN77 and link to LAPACK, but I mean come on, that's a lot more work than opening matlab and typing eig().

R is often seen as a statistical computing language, but it can be used to do a lot of general numerical analysis work. I've done of a lot of prototyping of machine learning algorithms in R and I find the syntax significantly cleaner. There are also tons of nice UIs for R available. There is also a really powerful plugin (ESS) for interfacing with R via Emacs. The nicest thing about R is that there's a very strong, unified community and they have a central package repository (CRAN), which makes it really easy to find the packages you need. Other alternatives I've briefly used are Python+SciPy and Mathematica.

Edit: I'm not saying MATLAB is that bad; it always gets the job done with some annoyances. But for a tool that's so widely used, it could be A LOT better.
 

darthsidious

Senior member
Jul 13, 2005
481
0
71
Originally posted by: randumb

R is often seen as a statistical computing language, but it can be used to do a lot of general numerical analysis work. I've done of a lot of prototyping of machine learning algorithms in R and I find the syntax significantly cleaner. There are also tons of nice UIs for R available. There is also a really powerful plugin (ESS) for interfacing with R via Emacs. The nicest thing about R is that there's a very strong, unified community and they have a central package repository (CRAN), which makes it really easy to find the packages you need. Other alternatives I've briefly used are Python+SciPy and Mathematica.


Harvard alert!!! Don't listen to anything he says, Eric!!
 

randumb

Platinum Member
Mar 27, 2003
2,324
0
0
Originally posted by: dullard
I haven't used MATLAB much at all. But isn't it based on Maple? If so, Maple had a bad habit of forgetting to initialize variables even if you explicityly did it. Thus, I'd start looking here:
Originally posted by: eLiu
Besides, every variable is initialized to my desired starting value (usually 0) anyway, so even if the previous statement were false, it wouldn't matter.
Double check to see if it really is initializing to your desired starting value, or if it is using the last value from the previous iteration. As with any ODE solver, a change like that to your initial value would be expected to give results like what you are experiencing.

MATLAB actually began as a wrapper for LINPACK and EISPACK. What you're probably thinking of is Maple's engine being added to MATLAB to give it some symbolic capabilities.
 

randumb

Platinum Member
Mar 27, 2003
2,324
0
0
Originally posted by: darthsidious
Originally posted by: randumb

R is often seen as a statistical computing language, but it can be used to do a lot of general numerical analysis work. I've done of a lot of prototyping of machine learning algorithms in R and I find the syntax significantly cleaner. There are also tons of nice UIs for R available. There is also a really powerful plugin (ESS) for interfacing with R via Emacs. The nicest thing about R is that there's a very strong, unified community and they have a central package repository (CRAN), which makes it really easy to find the packages you need. Other alternatives I've briefly used are Python+SciPy and Mathematica.


Harvard alert!!! Don't listen to anything he says, Eric!!

Yeah, I'm actually trying to convert everyone at MIT to inferior tools. Then we can finally defeat them using MATLAB. Muahaha.
 

josh0099

Senior member
Aug 8, 2004
543
0
76
Originally posted by: randumb
Originally posted by: darthsidious
Originally posted by: randumb

R is often seen as a statistical computing language, but it can be used to do a lot of general numerical analysis work. I've done of a lot of prototyping of machine learning algorithms in R and I find the syntax significantly cleaner. There are also tons of nice UIs for R available. There is also a really powerful plugin (ESS) for interfacing with R via Emacs. The nicest thing about R is that there's a very strong, unified community and they have a central package repository (CRAN), which makes it really easy to find the packages you need. Other alternatives I've briefly used are Python+SciPy and Mathematica.


Harvard alert!!! Don't listen to anything he says, Eric!!

Yeah, I'm actually trying to convert everyone at MIT to inferior tools. Then we can finally defeat them using MATLAB. Muahaha.

Just two questions...
1. Whats your major?
2. How far are you in your major?



 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |