Saving large matrix not exact

1 次查看(过去 30 天)
Quang Huy Pham
Quang Huy Pham 2023-2-8
编辑: Jonas 2023-2-8
I saved a 60x300,000 matrix from MATLAB online into my MATLAB drive. But when I load the mat file from my local workstation, the entries in the matrix are not the same as the original ones. The values is exact for only one digit.
  5 个评论
Quang Huy Pham
Quang Huy Pham 2023-2-8
It worked now. I cleared all variables in my pc's matlab and reloaded again.
Jonas
Jonas 2023-2-8
编辑:Jonas 2023-2-8
great.
sounds like you ran a script. Use functions instead, this way the variables are cleared each time before you run

请先登录,再进行评论。

回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by