您好,我想通过for循环将data(如图)中的每一列命名成一个变量,从a1到an,请大神指点,感激不尽。
感觉应该是这样的eval(['a' num2str(i) '=data(:,' num2str(i) ')']);写在for语句里面