How to save function as f.m?
1 view (last 30 days)
Show older comments
This may sound simple but I am still new to this. I don't know to save thr below funtion as f.m?? Right now it is an mlx??
function dYdt=f(t,Y)
y=Y(1); v=Y(2);
dYdt = [v; -7*sin(t)-4*v-5*y];
0 Comments
See Also
Categories
Find more on Audio and Video Data 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!