Discover MakerZone

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

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!

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

92 correct solutions 28 incorrect solutions
Last solution submitted on May 05, 2016

Problem Comments