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

1 visualización (últimos 30 días)
I'm trying to figure out how to display the value of from x(0) to x(n)

Respuesta aceptada

Star Strider
Star Strider el 15 de Abr. de 2017
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?

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by