Learn MATLAB Fast: Best Way to Code Physics Models

  • Context: MATLAB 
  • Thread starter Thread starter cragar
  • Start date Start date
  • Tags Tags
    Matlab Physics
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
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.
 
on Phys.org
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.