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.


Input: 'cos(pi*x - beta1)'
Output: {'beta'; 'x'}

Solution Stats

73.53% Correct | 26.47% Incorrect
Last solution submitted on Oct 19, 2016

Problem Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more