signal Processing data plot
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
mathematics
il 13 Set 2019
Commentato: mathematics
il 14 Set 2019
Dear all,
How to plot fprintf data results as a table in figure?
Thank you
0 Commenti
Risposta accettata
KALYAN ACHARJYA
il 13 Set 2019
Modificato: KALYAN ACHARJYA
il 13 Set 2019
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
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Legend in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!