Launching the CI/CD and R Collectives and community editing features for Should I use floating point's NaN, or floating point + bool for a data set that contains invalid values? (Though I don't use a 64 bit MATLAB release, I believe that problem has been resolved for those lucky individuals who do.). Array indices must be positive integers or logical values. I have a problem. Based on your location, we recommend that you select: . Launching the CI/CD and R Collectives and community editing features for How to iterate over a column vector in Matlab? Thanks! W = 0.80, L = 3.00, C_I = 0.000000, L_series = 0.000001, R_series = 0.063738 Hi, I would like to write a code whith two arrays as inputs: W_C and L_C I want to calculate some formulas for each value. After getting the size vector, iterate over that vector. Should be for($i=0; $i