creating variables with a for loop
조회 수: 11 (최근 30일)
이전 댓글 표시
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.
답변 (1개)
Steven Lord
2021년 9월 4일
Can you define variables with numbered names like X1, X2, X3, ... or whose names are given by a list of strings? Yes.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!