Effacer les filtres
Effacer les filtres

how can i save the matrix in my program and use it in another program fr calculation

1 vue (au cours des 30 derniers jours)
aaru sri
aaru sri le 8 Fév 2019
Commenté : madhan ravi le 8 Fév 2019
saving..and tn loading from one program to another

Réponses (1)

madhan ravi
madhan ravi le 8 Fév 2019
doc save
doc load
  2 commentaires
madhan ravi
madhan ravi le 8 Fév 2019
>> 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Help and Support dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by