Hi!!
Very nice tool! However I am having a problem that couldn't solve so far...and it is driving me a bit crazy. Export_fig is changing the sizing of my figures so that the aspect ratio is altered! Could someone tell me why or how to avoid it? I need to print it exactly with the size it is defined,
I recently (today) submitted a question entitled "availble solutions for 2D interpolation on non monotonic scattered data". Right after I discovered gridfit.
Thanks a lot for such a routine, really solid and with the best fitting I was looking for!.
However I would like to ask one thing that partially has already been addressed. Indeed I am most interested in the good interpolation it performs (although not the objective) than the extrapolation. My x y data points do not define a square domain but more a distorted "trapezoidal" one with curved contours. I would like to get rid of the data out of the original domain.
Ignacio proposed an interesting way (maybe not very clean but working) to know which points fall inside or outside the domain. But I can not apply it to my case since due to these convex borders the Delaunay triangulation produces spurious triangles there that indeed are out of the domain.
Could you suggest me in which way I could identify which of the points of my "square box grid" fall actually inside the trapezoidal domain?
Thanks a lot for the reply and indeed also again the solution Jim, working perfectly!!
(I didn't realized I had done such a change, my mistake)
Thanks again
I get the following error when I try to read a tdms file:
??? Undefined function or method 'TDMS_handleGetDataOption' for input
arguments of type 'struct'.
Error in ==> TDMS_readTDMSFile at 216
TDMS_handleGetDataOption('check',paramsStruct)
Error in ==> TDMS_getStruct at 57
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});
How do I solve this?
Thanks!
Comment only
01 Mar 2013
TDMS Reader
Read TDMS files v1 & v2 without DLL
Current Version: 2.5
I am trying to use the file to convert tdms file but I have a following error:
Error using TDMS_preprocessFile (line 450)
The remaining data doesn't split evently into chunks, estimated # of chunks: 8.181818e-01
Error in TDMS_readTDMSFile (line 226)
metaStruct = TDMS_preprocessFile(fid,tdmsFileName,paramsStruct);
Could someone help me to solve it, please?
Thanks
Comment only
22 Feb 2013
TDMS Reader
Read TDMS files v1 & v2 without DLL
Current Version: 2.5
I am using your algorithm posted on the MATLAB Central to read data from a TDMS file, however I am getting an error which I do not quite understand why.
This is a section of my code:
getStruct = struct;
getStruct.group = {'6120'};
getStruct.channel = {'Untitled 3'};
getStruct.indices = [2 3];
tempOutput4 = TDMS_readTDMSFile(fname,'GET_INDICES',getStruct,'SUBSET_IS_LENGTH',false)
However I get these errors:
Error using cell/ismember>cellismemberlegacy (line 132)
Input A of class cell and input B of class cell must be cell arrays of strings,
unless one is a string.
Error in cell/ismember (line 76)
[varargout{1:nlhs}] = cellismemberlegacy(varargin{:});
Error in TDMS_handleGetDataOption (line 167)
[~,loc] = ismember(objPaths_getIndex,objectPaths);
Error in TDMS_readTDMSFile (line 228)
optionStruct = TDMS_handleGetDataOption('getArray',paramsStruct,metaStruct); %Option
handling
Error in Test1 (line 21)
tempOutput4 =
TDMS_readTDMSFile(fname,'GET_INDICES',getStruct,'SUBSET_IS_LENGTH',false)
I am using MATLAB R2012b.
Any suggestions?
5
22 Feb 2013
TDMS Reader
Read TDMS files v1 & v2 without DLL
Current Version: 2.5
Comment only