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)
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!