Create a set of n variable names 'a_1',...,'a_n'

The result should be a column oriented cell array of strings.

Example input:

n=5

Example output:

{'a_1';'a_2';'a_3';'a_4';'a_5'}

Solution Stats

59 Solutions

32 Solvers

Last Solution submitted on Mar 16, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers32

Suggested Problems

More from this Author9

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!