Cody

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

62.18% Correct | 37.82% Incorrect
Last Solution submitted on Mar 28, 2020

Problem Comments