Integration limit and t-inverse function
Show older comments
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?
Answers (0)
Categories
Find more on Structures in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!