diff --git a/gridCoords.m b/gridCoords.m
index f1dac7856e97bbf5c62226e08d4d691821cc655e..a39fb16c2595e3e5740b83a9e249d2be91e422e1 100644
--- a/gridCoords.m
+++ b/gridCoords.m
@@ -1,4 +1,4 @@
-function [Xq,Yq,X,Y,varargout] = gridCoords(X,Y,Xq,Yq,varargin)
+function [X,Y,Xq,Yq,varargout] = gridCoords(X,Y,Xq,Yq,varargin)
 %GRIDCOORDS Summary of this function goes here
 %   Detailed explanation goes here