Dear all,
How to plot fprintf data results as a table in figure?
Thank you

 채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 9월 13일
편집: KALYAN ACHARJYA 2019년 9월 13일

0 개 추천

Please do change as per your requirements
T=table;
for k=1:100
data1=k;
%fprintf('The value is %d \n',data1);
data2=k+10;
%fprintf('The 2nd value is %d \n',data2);
table_data=table(data1,data2);
T=[T;table_data];
end
T.Properties.VariableNames = {'Data1_Name' 'Data2_Name'};
T

댓글 수: 1

mathematics
mathematics 2019년 9월 14일
Thank you very much for your reply. Could you please tell me how i can put this table on figure? as a display in figure

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

제품

질문:

2019년 9월 13일

댓글:

2019년 9월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by