How to generate a basic table of answers?
2 次查看(过去 30 天)
显示 更早的评论
I'm sure this is a very elementary process, it seems to me that it shouldn't be that hard, but for the life of me I can't figure it out: My code does some basic calculations on a large set of data; I would like for the answers to these calculations to be displayed in a table. I have:
dz = diff(dep);
drho = diff(sigth);
drhodz = drho./dz;
maxd = max(drhodz);
inum = find(drhodz==max(drhodz));
I would like to see a table with columns of maxd & inum. Any ideas?
0 个评论
回答(4 个)
Walter Roberson
2011-7-18
You can use uitable() if you want to present the table in a GUI; you can use fprintf() if you want to present the table as printed output.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Debugging and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!