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

63 Solutions

36 Solvers

Last Solution submitted on Jul 26, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers36

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!