Covering some basic topics I haven't seen elsewhere on Cody.
Given a string algebraic expression, return the symbolic variables as a cell array of strings.
Example:
Input: 'cos(pi*x - beta1)'
Output: {'beta'; 'x'}
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers144
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5793 Solvers
-
Calculate the Levenshtein distance between two strings
1506 Solvers
-
Find the "ordinary" or Euclidean distance between A and Z
176 Solvers
-
1226 Solvers
-
Detect a number and replace with two NaN's
199 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Symbolic Math Toolbox ?
It's beta1 in the Example Output.