signal Processing data plot
1 次查看(过去 30 天)
显示 更早的评论
Dear all,
How to plot fprintf data results as a table in figure?
Thank you
0 个评论
采纳的回答
KALYAN ACHARJYA
2019-9-13
编辑:KALYAN ACHARJYA
2019-9-13
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!