How to save function as f.m?
이전 댓글 표시
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];
답변 (1개)
Are you able to click "Save As..." and then, in the Save dialog window that pops up, change the "Files of Type:" from .mlx to .m?
카테고리
도움말 센터 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!