Using load and save functions?

2 次查看(过去 30 天)
Lawrence Arabia
Lawrence Arabia 2017-11-30
评论: KSSV 2017-11-30
Hi there. I'm trying to load a .dat file with a column of numbers that need to be rounded, and saved into another .dat file. Here is my code:
clc
clear all
load('test_in.dat')
round(test_in)
save('test_out.dat')
Is this a practical way of achieving this, or is there a more better way of going about this? Can anyone help out?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by