help matlab 2011b ( First input argument must be a function handle. )

fun = is * (exp((q * vd_f)/(k * tk)) - 1)
quadgk(fun,0,inf)
i need help as soon as well
saturation current equation by the way

1 件のコメント

Adam
Adam 2017 年 5 月 31 日
What is your question? That you don't know what a function handle is? Or that you don't understand the error? The error tells you exactly what you need - a function handle. You created just a variable that is the result of an expression evaluated on the spot, assuming all those inputs are defined.

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 5 月 31 日

0 投票

Your code should look something like,
fun = @(q) is * (exp((q * vd_f)/(k * tk)) - 1)
Here, the part inside the () after the @ should be the variable that you are integrating over.

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

質問済み:

2017 年 5 月 31 日

回答済み:

2017 年 5 月 31 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by