Cody

Problem 505. Back to basics 24 - Symbolic variables

Created by Alan Chalker in Community

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

69.23% Correct | 30.77% Incorrect
Last solution submitted on Feb 23, 2019

Problem Comments