matlab读取数组第三列的数据存到新数组中的程序
Assuming that you have an array named A, you can extract the third column of the array and store it in a new array B using the following MATLAB code:
B = A(:, 3); % extract the third column of A and store it in B
Here, : means all rows of the array and 3 represents the third column. The resulting array B will contain only the values from the third column of A.
原文地址: https://www.cveoy.top/t/topic/bQHu 著作权归作者所有。请勿转载和采集!