Back to basics 24 - Symbolic variables - MATLAB Cody - MATLAB Central

Problem 505. Back to basics 24 - Symbolic variables

Difficulty:Rate
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

61.79% Correct | 38.21% Incorrect
Last Solution submitted on Jun 01, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers143

Suggested Problems

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!
Go to top of page