Using load and save functions?

2 visualizzazioni (ultimi 30 giorni)
Lawrence Arabia
Lawrence Arabia il 30 Nov 2017
Commentato: KSSV il 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 Commento
KSSV
KSSV il 30 Nov 2017
If it is working for you..then that's fine....

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by