フィルターのクリア

Heat Dissipation for a spherical body

1 回表示 (過去 30 日間)
OREOLUWA AGEDE
OREOLUWA AGEDE 2020 年 12 月 3 日
回答済み: Abhishek Gupta 2020 年 12 月 22 日
I am not sure about what i am doing wrong but i keep getting this error. i am honeslty very confused. It would be great if i could get some help on how to fix this.
Error:
Index exceeds the number of array elements (0).
Error in pdepe (line 181)
if m > 0 && xmesh(1) < 0
Error in Project (line 38)
sol = pdepe(m,@pdex1pde,@pdex1ic,@pdex1bc,r,t);

回答 (1 件)

Abhishek Gupta
Abhishek Gupta 2020 年 12 月 22 日
Hi,
Error - "Index exceeds the number of array elements" represents that you are indexing an array with some 'n' number of elements, but you are querying for some i-th element, where i > n.
You can try to find out which indexing operation in line 38 is raising this error by displaying each one of them.

カテゴリ

Help Center および File ExchangeThermal Analysis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by