bvp4c not enought input error PLEASE HELP

I got this error and I don't even know how to solve it. I have 4 equations and 5 boundary values. Please help this is a project that I need to give for tomorrow.

답변 (1개)

Walter Roberson
Walter Roberson 2020년 5월 19일

0 개 추천

You show dfds as being defined with three input variables. However, bvp4c is only going to pass it two inputs, time and boundary conditions.
It looks to me as if your Q is a constant, so dfds should probably be defined as @(s,f) instead of @(s,f,Q) . Probably the same sort of problem for bc

카테고리

질문:

2020년 5월 19일

답변:

2020년 5월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by