i require the following calculation but my trial failed hope some one can help in this i have two matrices best=1×100 matrix and WIN=10×100 matrix and my problem is to subtract every row of WIN matrix with singe row matrix best i have used for loop but finally its giving one 1×100 ie., only 10th row but i require all the 10 rows ie 10×100 matrix after subtraction in a single variable

# MATLAB: Single row matrix vector subtraction

matrix subtraction

## Best Answer