How to find/present all of the grid points xi, where xi = 2+(i-1)*2 for 0<=i<=n.

1 回表示 (過去 30 日間)
kingsley
kingsley 2017 年 4 月 15 日
コメント済み: Star Strider 2017 年 4 月 15 日
I'm trying to figure out how to display the value of from x(0) to x(n)

採用された回答

Star Strider
Star Strider 2017 年 4 月 15 日
This vectorises easily enough:
i = 0:7;
xi = 2+(i-1)*2
xi =
0 2 4 6 8 10 12 14
Am I not understanding something in your Question?
  2 件のコメント
kingsley
kingsley 2017 年 4 月 15 日
thank you so much
Star Strider
Star Strider 2017 年 4 月 15 日
My pleasure.
If my Answer solved your problem, please Accept it!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by