how can i save the matrix in my program and use it in another program fr calculation
1 次查看(过去 30 天)
显示 更早的评论
saving..and tn loading from one program to another
0 个评论
回答(1 个)
madhan ravi
2019-2-8
doc save
doc load
2 个评论
madhan ravi
2019-2-8
>> a=rand(3) % example matrix
a =
0.5667 0.4427 0.8670
0.6102 0.4562 0.8306
0.1008 0.0518 0.5182
>> save aa.mat a
Use the below in script file:
load aa
Calculation = a/2 % do whatever calculation you like
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!