Integration limit and t-inverse function
Mostrar comentarios más antiguos
I'm trying to integrate a Laplace transform of a student-t inverse function and notice that my integration will bust if either one the following happens: 1-exp(-beta.*y=0) or 1-exp(-beta.*y=1) OR 1-exp(-alpha.*x=0) or 1-exp(-alpha.*x=1) So, in order to overcome this problem, I decided to impose constraint to MATLAB using the if, elseif, else loop. However, I'm not sure how to write the algorithm in a manner understood by MATLAB. Can someone please help me?
if 1-exp(-alpha.*x=0) or 1-exp(-beta.*y=0) neglect the expression (i.e. don't count) elseif 1-exp(-alpha.*x=1) or 1-exp(-alpha.*y=1) neglect the expression (i.e. don't count) else start execute program end
My question is: 1. How do I write the 'neglect the expression (i.e. don't count)' part in a manner understood by MATLAB? 2. How do I make sure that MATLAB will start counting from 1-exp(-alpha*x)=0.000000000000001 and stops at 1-exp(-alpha*x)=0.999999999999999?
Respuestas (0)
Categorías
Más información sobre Structures en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!