Hello, My code is pretty straightforward
for x = 1:3y = pi/xend
I want to get the value of y for each x (i.e. x = 1, x = 2, x =3). But when I run this code, I only get the value of y for x = 3 in my workspace.
for loop
for x = 1:3y = pi/xend
Best Answer