Hi, I'm just trying to do something really simple but it doesn't work and I don't know why despite the error message. I'm new to matlab so be gentle.
x is a column vector (10,1) with values ranging from 0.2 to 2 with 0.2 incraments. I would like for the eq to go through each of the x values and then possibly, if someone is willing to help, to store these 10 calculated values in a new (10,1) column vector.
for x2 = x(1:10)y1 = ((fg*x2^2)/(24*E*I))*(x2^2 - 4*L*x2 + 6*L^2)end
Thanks in advance!