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

1 次查看(过去 30 天)
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?

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by