I am a beginer of Matlab. I have a problem about creating the loop. I upload the raw data as column vectors from excel. then I get the Varibles as StorageModulus1, StorageModulus2,StorageModulus3,StorageModulus4 until StorageModulus15.
I would like to creat a Matrix. Here is my code:
eval(sprintf('StorageModulus%A = A',A))
eval(sprintf('StorageModulus%B = B',B))
but this code doesnot work and it always shows that StorageModulus is undefined varibales.
Can someone help me to slove this problem?