MATLAB Learn MATLAB Fast: Best Way to Code Physics Models

  • Thread starter Thread starter cragar
  • Start date Start date
  • Tags Tags
    Matlab Physics
AI Thread Summary
In a scientific computing class focused on MATLAB for modeling harmonic oscillators and pendulums, students are seeking effective ways to learn programming amidst challenges. Key strategies include utilizing free MATLAB tutorials, engaging with documentation, and dedicating time to practice coding through writing and running code repeatedly. Watching instructional videos can also be beneficial, especially when combined with hands-on experimentation. The consensus emphasizes that frequent reading and writing of code are essential for developing comfort and proficiency in MATLAB. For specific issues encountered during learning, seeking assistance from the community is encouraged.
cragar
Messages
2,546
Reaction score
3
im in a scientific computing class, where we are using MATLAB to model harmonic oscillators and pendulums using like the euler method for ode's. We pretty much got shoved off the deep end with the programming side. I use google to look up things to help me. But its not working that well. What is the best way to learn MATLAB and to code. I also try watching youtube videos. What is the quickest way to learn.
 
Physics news on Phys.org
write code, run code, write code, run code...in other words, practice and interrogate others posted code will help
 
MATLAB has some (free?) tutorials that are very good. Depending on how sophisticated the class programming is, a weekend of watching the tutorials should help a lot.
 
I recommend reading the doc for MATLAB. FactChecker is right, if you sacrifice a weekend to watching videos, reading, and experimenting, then you'll be well on your way. The only way to get comfortable reading code is to read it a lot, and the only way to get comfortable writing it is to do a ton of reading and writing of your own. You'll find yourself running the program, making small tweaks, rerunning it, etc...

If you run into more specific problems later, you can always post them here for people to help.
 

Similar threads

Replies
10
Views
3K
Replies
10
Views
4K
Replies
45
Views
5K
Replies
4
Views
3K
Replies
71
Views
814
Replies
4
Views
2K
Replies
5
Views
2K
Back
Top