How can you master MATLAB

Forum: Training, Studies & Career How difficult is Matlab`?





Hello, I have to program Matlab for the bachelor thesis. But it can't, but it's probably easier than C or Java. But can you learn Matlab in 1-2 weeks? VG



Hi, if you already know other programming languages, you can start after 1-2 weeks, but you have to read a lot. MfG me



Matlab itself, the language, is simple. But it is of no use to you to master the language if you do not understand the math behind what you do with Matlab.



There are enough tutorials / PDFs on the net to get started quickly. I find it pretty similar to C. Often the DOs and DONTs are also explained, e.g. how to avoid the loops if possible or to allocate memory to the correct size once. What you don't know then, however, is to know the functions and toolboxes that sometimes make your life much easier. And without that, a task can sometimes become extreme.



It should be as heavy as any other DVD ... just the bulk. scnr It's just a "matrix laboratory" - in other words, emphasis on algebraic calculations with matrices (1D matrix = vector). Accordingly, operations such as transposing matrices, extracting partial matrices, scalar multiplications and matrix multiplications should be the main activities with Matlab. You will always notice this origin of Matlab when dealing with it. In fact, the purely practical use of the lin. Alg. Also helps some to recognize its benefits in non-Matlab programs. :) Take a look at Andrew Ng's Stanford Machine Learning courses on YouTube, he uses Octave (free Matlab) and explains it pretty neatly: https://www.youtube.com/results?search_query=ng+machine+learning



TESLA SPULE wrote:> Hello,> has to program Matlab for the bachelor thesis. But it can> not, but it is probably easier than C or Java.> But can you learn Matlab in 1-2 weeks?> VG Hello, As always, it depends on what exactly you should / want to implement. Coming from the C corner you can very quickly get used to the simple constructs, e.g. while, for, if - then, etc. If you are supposed to implement a graphical user interface, for example, you will find tools with which you can use the Design the surface. The connection in the source code can then be implemented using handles, as you might already know from Windows APIs, if. If not, it's not a big deal if you deal directly with Matlab for the first time. I come from the C / C ++ / C # corner and have often processed data with Matlab that I have read in e.g. from the ┬ÁC-ADC via RS232. It's fun and not that difficult. So, just take courage and don't despair, if it doesn't work right away ;-) Have a nice weekend.



It just depends on what you want to do with it ... There are people who want to write a GUI with it ...



TESLA COIL wrote:> But can you learn Matlab in 1-2 weeks? You can do a lot with Matlab. Therefore, there is no general answer to your question. Examples: - You want to graphically display the temperature profile of a thermometer. => That can be learned in one day. - You want to analyze some measurement data, correlate it, check statistical dependencies etc. => You need a few days, then you will understand - You want to solve numerical problems in MATLAB most efficiently => have fun, because first of all, to look through the basics of Matlab : How is memory allocated efficiently, how do I write efficient loops, what about rounding errors etc. => WEEKS to MONTHS (or even a whole semester) So: What do you want to do?



Your question could also be translated as "Can I learn to drive a car in 1-2 weeks?" The answer is yes, but ... it depends on the goal. After 2 weeks, you will most likely not be able to roam through Paris without an accident. MatLab has become a kind of standard universal toolbox for all those who want or have to program something and have little time and / or programming skills. Frequent applications can be found wherever you want to record and evaluate measurement results. You get to your goal quickly. But from the point of view of an experienced programmer, the results read like a patchwork of C, Matlab scripting language and perhaps integrated Java or C # libraries. New requirement = new function. Maintainability and readability quickly become subterranean. Just right for a bachelor thesis: clearly defined requirements and little time. As a rule, the result often ends up in tray P anyway.


TESLA SPULE wrote:> has to program Matlab for the bachelor thesis. But it can> not, but is probably easier than C or Java.> But can you learn Matlab in 1-2 weeks? If you are not a troll then start right away with an online tutorial and see how far you will get in the next few hours: http://de.mathworks.com/academia/student_center/tutorials/mltutorial_launchpad.html With this you should be able to estimate how long learning to program the Math lab takes time. Since Mathlab also runs on the Rasp Pi, there are many hobbyist courses from this corner. You will quickly find what you are looking for. Kind regards,



Fpga Kuechle wrote:> Mathlab It's called MATLAB. The MAT does not come from math but from MATrix


Libra wrote in entry # 4112555:> MATLAB does not run natively on a Pi.> You can create applications for the PI with Simulink, but> not install MATLAB natv on it. Can you learn to program on the Rasp Pi Matlab? Kind regards,



TESLA SPULE wrote:> has to program Matlab for the bachelor thesis. But it can> not, but is probably easier than C or Java. If you already know how to program, it is not difficult. In contrast to other scripting / programming languages, the Matlab language has a simple mind. The only difficult or new and at the same time important is the matrix concept, i.e. that all variables are vectors / matrices and the functions on them also work vectorially. As a pretty good programmer at the time, I cursed about it for what it took. But that was pretty stupid of me, because the matrix concept is the heart and soul of Matlab and makes it so powerful (and for many tasks just as fast as a native C program). So: familiarize yourself with the Matlab matrices! :-)



just keep pressing F1 as soon as you get started. then it will be fine. honest.



I am also interested in the question, how difficult is it to learn how to use Simulink? I recently saw a tender for a mass job in which gear parts should be examined with MATLAB / SimLink and I would really like to do that, but I have never worked with MATLAB and to get the whole thing, of course, it would have to be foreseeable how quickly I can familiarize myself with the program.



annoyed wrote:> I recently saw an advertisement for a mass job in which> gear parts are to be examined with MATLAB / SimLink and I would really like to do that, but I have never worked with MATLAB> and would have to get the whole thing Of course, it will be foreseeable how quickly I can get used to the program. Sit down and try it out, you surely have access to Matlab somewhere. The tutorials and help from Matlab / Simulink are very good. After an afternoon you will be able to estimate how much time YOU need to invest. Probably depends primarily on your previous knowledge of programming.



Fpga Kuechle wrote:> Since Mathlab also runs on the Rasp Pi I think you are confusing that with Mathematica. Mathematica is used at RasPi at Std. Dist. (raspian) included. Mathematica is more of a symbolic algebra program, while MatLab is more for numerical calculations.

: Edited by user


Klaus Rotter wrote:> Fpga Kuechle wrote: >> Since Mathlab also runs on the Rasp Pi >> I think you are confusing that with Mathematica. Mathematica is used at> RasPi at Std. Dist. (raspian) included. And there is also Matlab's open source counterpart: Octave.

: Edited by user

Klaus Rotter wrote:> Fpga Kuechle wrote: >> Since Mathlab also runs on the Rasp Pi >> I think you are confusing that with Mathematica. Mathematica is used at> RasPi at Std. Dist. (raspian) included.> Mathematica is more of a symbolic algebra program, while MatLab> is more for numerical calculations. Yes, thanks for the explanation. Kind regards,



Dr. Mathworks wrote in post # 4112705:> PM wrote: >> And there is also the open source counterpart of Matlab: Octave. >> Whereby Octave comes without Simulink and without the toolboxes ...> It's freeware for that :) Right, yes. You shouldn't actually call it "counterpart". Octave can do a lot that Matlab can do. But you have to look for the specific purpose, whether it is good or not. In particular, you can't use it out-of-the-box as practically as Matlab, but first have to tinker with a GUI or whatever. A more user-friendly, but as far as I know not quite as free and complete alternative is SciLab.



Dr. Mathworks wrote in entry # 4112705:> P. M. wrote: >> And there is also the open source counterpart of Matlab: Octave. >> Whereby Octave comes without Simulink and without the toolboxes ... Matlab too. As a company, you're putting real money on the table for Simulink. The toolboxes aren't really cheap either.



Andreas H wrote:> Dr. Mathworks wrote: >> PM wrote: >>> And there is also the open source counterpart of Matlab: Octave. >>>> Whereby Octave comes without Simulink and without the toolboxes ... >> Matlab too.> For As a company, you are putting a lot of money on the table with Simulink.> The toolboxes are not really cheap either. Most toolboxes are not included in the academic environment, in the student version ... In the industrial environment, Mathworks is really enough ...