MATLAB Answers

0

signal Processing data plot

Asked by mathematics on 13 Sep 2019
Latest activity Commented on by mathematics on 14 Sep 2019
Dear all,
How to plot fprintf data results as a table in figure?
Thank you

  0 Comments

Sign in to comment.

1 Answer

Answer by KALYAN ACHARJYA on 13 Sep 2019
Edited by KALYAN ACHARJYA on 13 Sep 2019
 Accepted Answer

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 Comment

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

Sign in to comment.