Searching for an expression inside a bigger expression
Mostrar comentarios más antiguos
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 comentario
Walter Roberson
el 28 de Abr. de 2013
Symbolic toolbox, or in a string ?
Respuestas (0)
Categorías
Más información sobre Polynomials en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!