photo

Tianyi Yu


2019 年からアクティブ

Followers: 0   Following: 0

統計

MATLAB Answers

1 質問
1 回答

ランク
161,673
of 301,127

評判
0

コントリビューション
1 質問
1 回答

回答採用率
100.0%

獲得投票数
0

ランク
 of 21,175

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク

of 172,871

コントリビューション
0 問題
0 解答

スコア
0

バッジ数
0

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

Feeds

表示方法

質問


How to reuse the same format
For example, this code has nine "%7.0f" and one "%5.0f". Is there any way I can simplify this code, like "repmat('%7.0f' , 9)" ,...

約6年 前 | 2 件の回答 | 0

2

回答

回答済み
How to reuse the same format
OK i think i solved this problem already: fmt = ['# defaults-> %5.0f',repmat('%7.0f',1,8),'%7.0f\n',]; fprintf(fmt,header);

約6年 前 | 0

| 採用済み