save file and plot

2 ビュー (過去 30 日間)
abdullah qasim
abdullah qasim 2021 年 2 月 3 日
コメント済み: abdullah qasim 2021 年 2 月 3 日
I have this code and want to save the "AverPr" value
After that, I want to load it up again and draw it
Please help me
'''''''''''''''''''''''
AverPr=mean(P_rec_dBm);
f=0:0.05:lx;
plot(f,AverPr,'r-*');grid on;
xlabel('x[m]');
ylabel('Average Power Distrbution');

採用された回答

DEEPAK Chekuri
DEEPAK Chekuri 2021 年 2 月 3 日
save('file_name' , 'AverPr') ; % this will save your Averpr to a file_name
load('file_name'); % loads back the file
make sure , you don't change the directory while loading the file .
  1 件のコメント
abdullah qasim
abdullah qasim 2021 年 2 月 3 日
thank you very much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeOptics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by