필터 지우기
필터 지우기

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

답변 (1개)

madhan ravi
madhan ravi 2019년 2월 8일
doc save
doc load
  댓글 수: 2
madhan ravi
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 CenterFile Exchange에서 Help and Support에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by