top of page
CPMSE Worked Examples
Lets first create the central vector
Using the MATLAB function floor we can round a number to the nearest integer towards minus infinity. Then, we will also need to find the absolute value (abs) to discard the minus sign.
Matrix multiplying this A matrix by a ones-filled matrix, we get:


Finally, if we add this matrix with its transpose, we are going to get the expected result

bottom of page