I have solution of 2 Fields defined by 1a and 1b in matrix. For each component x and y i have a matrix. To obtain final equation 5a as a combination of 1a and 1b i have been separately adding x components of 1a and 1b and y components of 1a and 1b to form the x and y components of 5a. Is there a way to define these equations in matlab so that matlab understands the x and y cordinates and i dont have to do the operations separately for each cordinates x and y ?