Printing table susing fprintf
显示 更早的评论
I have the following script; my problem is that I cannot get all the values in A under column A in the frprintf. Any ideas?
A=[1;3;2;8;9]; B=2*pi*A; fprintf('A B\n'); fprintf('======\n'); fprintf('%d %d\n',A,B);
采纳的回答
更多回答(1 个)
Erick Miranda
2020-1-29
0 个投票
Thank you, thank you...
fprintf('%d %d\n', [A, B].');
I have a question what is, or how does it work " .' "
类别
在 帮助中心 和 File Exchange 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!