creating variables with a for loop

11 visualizaciones (últimos 30 días)
Derrick Criss
Derrick Criss el 3 de Sept. de 2021
Comentada: Walter Roberson el 4 de Sept. de 2021
I have a table of data, in the first column there are a bunch of names. Trying to make a for loop that pulls the name from the table and create variables named after the names pulled from the table.

Respuestas (1)

Steven Lord
Steven Lord el 4 de Sept. de 2021
Can you define variables with numbered names like X1, X2, X3, ... or whose names are given by a list of strings? Yes.

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by