フィルターのクリア

how to plot of a infinite series in 2D

3 ビュー (過去 30 日間)
Onur Metin Mertaslan
Onur Metin Mertaslan 2021 年 1 月 20 日
回答済み: KSSV 2021 年 1 月 20 日
Hello everyone, I need a help
I have an infinite series:
I need to graph the partial sum of 100 terms as a 2-D surface on x-t-U space.
I couldn't able to do it. Is there anyone who can help me?
Thank you!

回答 (1 件)

KSSV
KSSV 2021 年 1 月 20 日
Hints:
  1. Define x as an array using linspace after defining min and max value of x.
  2. Define t as an array using linspace after defining min and max value of t.
  3. Get matrices X, T from x, t using the functio meshgrid.
  4. Fix the value of n (may be up to 100 or more). Note that we cannot take infinity.
  5. Initialize the sum as zeros.
  6. Run a loop with index n and write the formula which you have given.
  7. Use surf to plot the data.

カテゴリ

Help Center および File ExchangeTime Series についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by