Using load and save functions?

2 vues (au cours des 30 derniers jours)
Lawrence Arabia
Lawrence Arabia le 30 Nov 2017
Commenté : KSSV le 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 commentaire
KSSV
KSSV le 30 Nov 2017
If it is working for you..then that's fine....

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by