Problem 505. Back to basics 24 - Symbolic variables
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
		Jean-Marie Sainthillier
    	on 27 Jul 2012
	
	
  	Symbolic Math Toolbox ?
		Jean-Marie Sainthillier
    	on 5 Aug 2012
	
	
  	It's beta1 in the Example Output.
Solution Comments
Show commentsProblem Recent Solvers143
Suggested Problems
- 
         How to find the position of an element in a vector without using the find function 2775 Solvers 
- 
         Create a cell array out of a struct 2258 Solvers 
- 
         
         231 Solvers 
- 
         
         851 Solvers 
- 
         
         191 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!