Without using a mass matrix, ode solvers like ode45
can solve y'=f(t,y).
But there is an option of mass matrix in ode solvers for problems that involve a "mass" matrix, M(t,y)y'=f(t,y).
What exactly is the "mass" matrix? Does this term come from the mass of mass-spring system oscillation? I cannot find an example code about this in the documentation. Also, it seems that I can encode information about t and y in f(t,y) in the equation of y'=f(t,y). In what situation/example will M(t,y)y'=f(t,y) arise where M(t,y) is needed?