MATLAB: Signal Processing data plot

figureMATLABplotplottingsignalsignal processing

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

Best 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