I want to write the code like this,and the rage of k is 1 to K,but i don't know how to write the " j is not equal to k" this summation code,can anyone show me how to write it ?

# MATLAB: How to write a summation code when the k is not equal to j

double sumsumsummation

## Best Answer