MATLAB Answers

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
plot(f,AverPr,'r-*');grid on;
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개)

Community Treasure Hunt

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

Start Hunting!

Translated by