Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
関数を関数に渡すことを検討しています。
私がやりたいことは、微分する別の関数を渡すことができる有限差分ベースの関数を作成することです。
例えば:
function ybar = diff_finite ( x , h , function_inquestion) ybar = ((function_inquestion(x+h) - function_inquestion(x)) / h end
前もって感謝します
関数ハンドルを見てください。