- Define x as an array using linspace after defining min and max value of x.
- Define t as an array using linspace after defining min and max value of t.
- Get matrices X, T from x, t using the functio meshgrid.
- Fix the value of n (may be up to 100 or more). Note that we cannot take infinity.
- Initialize the sum as zeros.
- Run a loop with index n and write the formula which you have given.
- Use surf to plot the data.
how to plot of a infinite series in 2D
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello everyone, I need a help
I have an infinite series:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/494899/image.png)
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!
0 Kommentare
Antworten (1)
KSSV
am 20 Jan. 2021
Hints:
0 Kommentare
Siehe auch
Kategorien
Mehr zu Time Series finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!