フィルターのクリア

how to combine multiple output in one lines?

2 ビュー (過去 30 日間)
Samious
Samious 2013 年 9 月 23 日
E.g. I have a matlab function for example,
for i=(1:25) b=35-i
how do I get it to make an answer like
**************************
i | answer
1 | 34
2 | 33
3 | 32
4 | 31
********************
instead of
ans
34
ans
33
ans
32
ans
31
  1 件のコメント
Jan
Jan 2013 年 9 月 23 日
We cannot suggest improvements of your code, when you do not show it.

サインインしてコメントする。

回答 (1 件)

Robert Cumming
Robert Cumming 2013 年 9 月 23 日
help fprintf
help disp

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by