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

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개)

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 Exchange에서 Loops 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