Using load and save functions?

2 views (last 30 days)
Lawrence Arabia
Lawrence Arabia on 30 Nov 2017
Commented: KSSV on 30 Nov 2017
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?
  1 Comment
KSSV
KSSV on 30 Nov 2017
If it is working for you..then that's fine....

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!