Double integration, limit is not an scalar

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.

Réponses (0)

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Tags

Question posée :

le 28 Jan 2013

Community Treasure Hunt

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

Start Hunting!

Translated by