Searching for an expression inside a bigger expression
이전 댓글 표시
I'm writing a function for Chebyshev Quadrature. The only thing I don't know is how to do the following:
there are 2 different types of Chebyshev quadrature depending on whether (1-x)^(1/2) is in the numerator or in the denominator. Let's say my input is following function in symbols:
f = ((1-x^2)/(1+x^2))*sqrt(1-x^2);
How can I write a function which detects whether sqrt(-x^2) is in the numerator or in the denominator?
Thanks in advance
댓글 수: 1
Walter Roberson
2013년 4월 28일
Symbolic toolbox, or in a string ?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!