What are some good quick shortcuts for beginners?
Show older comments
What are some quick tricks or tips that I can learn for this coding langauge?
1 Comment
The MATLAB introductory tutorials:
And for some recommendations on how to write MATLAB code:
Answers (1)
A beginning tutorial. https://www.tutorialspoint.com/matlab/
- MATLAB is very good in documentation. If you stuck up in a funciton use help function. This will give detailed description of the function with examples.
- If you want to read documentation of a function use doc function. This will open documentation.
- If you have a key word and want to know the function use lookfor keyword. This will give you all possible functions with that key word.
Important points to remember.
- MATLAB is matrix laboratory. MATRIX is important here.
- Indexing is important.
- MATLAB indices are positive integers. Zero and negatives not accepted.
- Read about element by element operation.
- Keep matrix addition and multiplication in mind.
- Read about loops.
- Read about logical indexing.
REad the above. You are done with what you want and now you are ready to start.
Categories
Find more on Multidimensional Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!