2009年12月12日 星期六

function in matlab:

1)create  a file "f1.m"
function y=f1(x,y)
y=x+2*y;


2)run in matlab:

f(3, 4)

沒有留言:

張貼留言