Rank: 4818 based on 3 downloads (last 30 days) and 1 file submitted
photo

ygal

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by ygal
Updated   File Tags Downloads
(last 30 days)
Comments Rating
19 Mar 2009 Compare anything Compares quantatively structs, cell, array, element by element. Author: ygal compare, structure, cell array, array, cell, string 3 3
  • 3.0
3.0 | 3 ratings
Comments and Ratings by ygal View all
Updated File Comments Rating
26 Mar 2009 Compare anything Compares quantatively structs, cell, array, element by element. Author: ygal

Thanks Yair for your comment.

Indeed, your function ObjDiff return a object similar to the second output of CompareAny.The difference is that CompareAny gives a quantitative difference between two objects, therefore it is more suitable for numeric elements.
This function is very useful for checking results validity and for non-regression testing. It returns also a global maximal difference betwenn the two objects.

Pessah Casher veSameach !

19 Mar 2009 compare, alltrue compares structs, cells and arrays element-by-element Author: Dario

Good job !

19 Mar 2009 Compare anything Compares quantatively structs, cell, array, element by element. Author: ygal
19 Mar 2009 Compare anything Compares quantatively structs, cell, array, element by element. Author: ygal
Comments and Ratings on ygal's Files View all
Updated File Comment by Comments Rating
13 May 2009 Compare anything Compares quantatively structs, cell, array, element by element. Author: ygal Schreiber, Gabriel Akira

recursive evaluation of nested cell arrays/structs would be desirable.

26 Mar 2009 Compare anything Compares quantatively structs, cell, array, element by element. Author: ygal ygal

Thanks Yair for your comment.

Indeed, your function ObjDiff return a object similar to the second output of CompareAny.The difference is that CompareAny gives a quantitative difference between two objects, therefore it is more suitable for numeric elements.
This function is very useful for checking results validity and for non-regression testing. It returns also a global maximal difference betwenn the two objects.

Pessah Casher veSameach !

19 Mar 2009 Compare anything Compares quantatively structs, cell, array, element by element. Author: ygal Altman, Yair

FYI, I published ObjDiff (http://www.mathworks.com/matlabcentral/fileexchange/14395 ) on the File Exchange 2 years ago. ObjDiff is very similar to what you did and also handles HG handles, arrays and COM/Java objects.

19 Mar 2009 Compare anything Compares quantatively structs, cell, array, element by element. Author: ygal ygal
19 Mar 2009 Compare anything Compares quantatively structs, cell, array, element by element. Author: ygal ygal
Top Tags Applied by ygal
compare, string, array, cell, cell array
Files Tagged by ygal View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
24 May 2009 compare, alltrue compares structs, cells and arrays element-by-element Author: Dario compare, struct, cell, string, array 2 5
  • 3.66667
3.7 | 3 ratings
19 Mar 2009 Compare anything Compares quantatively structs, cell, array, element by element. Author: ygal compare, structure, cell array, array, cell, string 3 3
  • 3.0
3.0 | 3 ratings

Contact us at files@mathworks.com