Is it possible to assign variables in the workspace to other variables using for loop?
I have variables like a_1_1, a_1_2, a_1_3, a_2_1, a_2_2, etc…… in the workspace. I want to assign these variables to another variable inside a for loop. Such that for each loop each variable will be loaded. For instance,
for i=1:100
for j=1:3
e=a_i_j
end
end
The abovementioned is just a pseudo code only for understanding.
How this can be done inside a for loop?I have variables like a_1_1, a_1_2, a_1_3, a_2_1, a_2_2, etc…… in the workspace. I want to assign these variables to another variable inside a for loop. Such that for each loop each variable will be loaded. For instance,
for i=1:100
for j=1:3
e=a_i_j
end
end
The abovementioned is just a pseudo code only for understanding.
How this can be done inside a for loop? I have variables like a_1_1, a_1_2, a_1_3, a_2_1, a_2_2, etc…… in the workspace. I want to assign these variables to another variable inside a for loop. Such that for each loop each variable will be loaded. For instance,
for i=1:100
for j=1:3
e=a_i_j
end
end
The abovementioned is just a pseudo code only for understanding.
How this can be done inside a for loop? image processing, image analysis, image segmentation, image acquisition, digital signal processing, digital image processing, signal processing, signal, mathematics, deep learning, machine learning, biomedical signal, ecg, multiplication MATLAB Answers — New Questions