I'm writing a simple MATLAB program to solve a project Euler problem.
The program creates a 900 x 900 matrix. Before creation of this matrix c
by the program, I pre-allocate it in the following way:
c = zeros(900,900);
This yields an orange error message: "The value assigned to variable 'c' might be unused".
Later in the program the matrix c
is filled with numbers. So why the error message?