No BSD License  

Highlights from
SYMPOLY2SYM

4.375

4.4 | 8 ratings Rate this file 3 Downloads (last 30 days) File Size: 1.38 KB File ID: #3983

SYMPOLY2SYM

by Tim Farajian

 

20 Sep 2003 (Updated 22 Sep 2003)

Similar to poly2sym but can handle symbolic coefficients and indeterminate variables.

| Watch this File

File Information
Description

Similar to poly2sym but can handle symbolic coefficients and indeterminate variables specified as equations.
 
SymPoly2Sym('a*x^2 + b*x + c','x') = [a b c]

SymPoly2Sym('a*sin(x)^2 + b*sin(x) + c','sin(x)') = [a b c]

Required Products Symbolic Math Toolbox
MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
11 Apr 2004 Sarjoun Skaff

Enabled the manipulation of large expression without a problem.

16 May 2004 Peter Harrington

Crashes when given linear and constant terms. This bug can easily be fixed.

Ax+b or b % causes the function to crash. It should be able to handle any level of polynomial include first and zero order.

Works great for second order and higher

12 Jul 2005 Francisco Araya

It does not work for second order or less...

08 Aug 2006 Adrian Kaats

Nice!

30 Sep 2006 Babak Asghari

I found this function extremely useful for extracting coefficients of different variables in a large parametric expression. Thank u!

07 Dec 2006 Andreas Bogala

very useful! Thanks

03 May 2007 Patrick Vogelsang

That's what I needed!!

15 Jul 2008 Davide Costa

it is great!!! very very powerfull

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
symbolic math Tim Farajian 22 Oct 2008 07:07:46
sym Tim Farajian 22 Oct 2008 07:07:46
symbolic Tim Farajian 22 Oct 2008 07:07:46
polynomial Tim Farajian 22 Oct 2008 07:07:46
coefficient Tim Farajian 22 Oct 2008 07:07:46
coefficients Tim Farajian 22 Oct 2008 07:07:46
extract Tim Farajian 22 Oct 2008 07:07:46

Contact us at files@mathworks.com