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!