Double integration, limit is not an scalar
1 次查看(过去 30 天)
显示 更早的评论
Good night, I'll try to be brief, I have, say
quad(@(y) y*quad(@(x)x,0,y) ,0,1)
Two numerical integrations with one particular issue. The variable of the outer integration is one of the limits of the inside integral!
Matlab says the limit has to be an scalar. Can you think of a way of overcoming this? Thank you :)
PD: The actual problem is with the CDF of the normal function, but I do not like to waste your time.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!