![]() There are industries and companies that make heavy use of it though. If you're looking into a company or industry that uses it, the answer is kind of obvious. We use Simscape and Simulink, so we use Matlab. Even though most ME's don't use in the real world. So you can kinda see why universities mostly choose MATLAB over python for ME. quick scripts that can be deployed to coworkers syntax for matrix multiplication, linear algebra, etc matlab is 1-based arrays (I only ever see that in scientific computing languages but never in production languages) while python is 0-based with python you'll learn CS topics like OOP python is a "real" programming language used by software engineers as well as scientific computing (ME's included) Though I should point out some very big differences between python/Matlab: You can learn the other language on your own for free if interested. I'd say pick whichever is used in your future courses (I'm guessing MATLAB). You can learn programming languages at any time in your life. I never worked anywhere where programming was required. Otherwise, I've used python (voluntarily) to help with calculations. He said the big companies use MATLAB a lot for robotics/controls. I had a coworker that worked at a big company. However, compare their cursory details largely structured in tutorials to C++ and Python. Engineers who learned something else first are able to write code in Matlab that is much more manageable, understandable, and elegant.Įdit: an addendum, Mathworks does provide some language documentation here and it does go into detail about how to do programming in Matlab. In my experience, engineers who learned Matlab first tend to see it as a panacea and don't take the time to bother (or understand why it would be important) to learn anything else. Now it has gotten better with the ability to denote packages/modules in the file path, but again, import/include statements for those packages aren't enforced and it still adds the contents to the global namespace. i and j actually being reserved keywords for the imaginary number sqrt(-1) but you can totally just overwrite them to be loop indices. Just off the top of my head for bad language practices: the use of the end keyword to both indicate the closure of a block (Python tabs in C/C++/Java) and to index the last entry in an array. Additionally, coding in Matlab makes everything too easy, because it doesn't significantly enforce its own language and keeps everything in a global namespace, leading to sloppy coding practices. As such, the only way to learn how to program in Matlab is purely through trial and error. ![]() All it provides documentation for is the Matlab standard library and it keeps it language specs private and proprietary. ![]() Mathworks doesn't actually document the Matlab language anywhere. I would say that's the case for any other language other than Matlab. If the reason is not obvious, please use the 'other' box and provide a short explanation for the report. Please report any post(s) which you feel violates the above rules, or reddiquette. Users are encouraged to add their own user flair to denote what industry or discipline they work in. Looking for help with your resume or portfolio? Head on over to Engineering Resumes Images are allowed provided they are relevant to mechanical engineering or the the posted topic.Īll school/university related items please see Engineering Students 'How do I do this' posts will be removed unless it's clear sufficient thought has already been given to the problem. 'Design this for me' posts will be removed. These will be evaluated on a 'per-post' basis. (No direct links to product websites) If you'd like to discuss a particular product please do so in a self post.Īll low effort posts will be removed. Keep all posts and comments constructive and good natured. Read the side bar and all rules before posting. Threads related to current projects (home or work), discussion threads, best practices, and everything in between are more than welcome. The gathering place for mechanical engineers to discuss current technology, methods, jobs, and anything else related to mechanical engineering.įeel free to share anything you feel is relevant.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |