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.5% Correct | 37.5% Incorrect
Last Solution submitted on Sep 07, 2019

Problem Comments