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

Problem 505. Back to basics 24 - Symbolic variables

Created by Alan Chalker

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'}

Problem Group

Solution Statistics

79 correct solutions 25 incorrect solutions
Last solution submitted on Dec 12, 2014

Problem Comments