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!