- #1
ruby_duby
- 46
- 0
I have a function
B(m,n) = Integration of this between 1 and 0 (x.^m-1).*((1-x).^n-1)
For my m file i have
function Beta = B(m,n)
x=quad('@B',0,1);
Beta=(x.^m-1).*((1-x).^n-1);
however when i run my m-file it doesn't work. Can anybody help me please
B(m,n) = Integration of this between 1 and 0 (x.^m-1).*((1-x).^n-1)
For my m file i have
function Beta = B(m,n)
x=quad('@B',0,1);
Beta=(x.^m-1).*((1-x).^n-1);
however when i run my m-file it doesn't work. Can anybody help me please