matlab中矩阵另存为txt

来源:互联网 发布:淘宝店铺手机怎么管理 编辑:程序博客网 时间:2024/04/29 23:32
load ground.txt
i=1;
while(i<size(ground,1))
    temp(i,1)=ground(i+1,4)-ground(i,4);
    temp(i,2)=ground(i+1,12)-ground(i,12);
    i=i+1;
end
save filename.txt temp -ascii


0 0