Rank: 1953 based on 70 downloads (last 30 days) and 4 files submitted
photo

Javier Lopez-Calderon

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Javier Lopez-Calderon View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
13 Sep 2013 Compare Two Structures Compares two structures for equality Author: Javier Lopez-Calderon equal, isequal, compare, structure, field name 41 0
22 Apr 2011 Closest value(s) from a list Returns the closest value from a list for each target value Author: Javier Lopez-Calderon find, min, vector, closest, nearest 8 3
18 Mar 2011 mat2colon Converts a matrix (row x col) into a string using MATLAB colon notation (single resolution). Author: Javier Lopez-Calderon matrix, string, colon, vect2colon 8 2
18 Mar 2011 Vector to colon notation Converts a vector into a string with its MATLAB colon notation (single resolution). Author: Javier Lopez-Calderon single resolution, vector, string, display, eval, matrix indexing 13 7
  • 4.0
4.0 | 1 rating
Comments and Ratings by Javier Lopez-Calderon View all
Updated File Comments Rating
21 Oct 2013 Closest value(s) from a list Returns the closest value from a list for each target value Author: Javier Lopez-Calderon

Hi Vijender. How large is the array you used? Did you download closest.m from here (Matlab File Exchange)?. Thanks.

19 Mar 2011 Vector to colon notation Converts a vector into a string with its MATLAB colon notation (single resolution). Author: Javier Lopez-Calderon

Please, see also mat2colon.m here http://www.mathworks.com/matlabcentral/fileexchange/30797-mat2colon

18 Mar 2011 mat2colon Converts a matrix (row x col) into a string using MATLAB colon notation (single resolution). Author: Javier Lopez-Calderon

I forgot to mention that mat2colon.m needs vect2colon.m in order to work. You can find it here http://www.mathworks.com/matlabcentral/fileexchange/22076

28 Apr 2010 Writing Fast MATLAB Code Speed up your project with this collection of techniques. Author: Pascal Getreuer

Great, Thanks!

19 Mar 2010 anymate Animate Handle Graphics objects Author: Jerker Wagberg

outstanding!

Comments and Ratings on Javier Lopez-Calderon's Files View all
Updated File Comment by Comments Rating
21 Oct 2013 Closest value(s) from a list Returns the closest value from a list for each target value Author: Javier Lopez-Calderon Javier Lopez-Calderon

Hi Vijender. How large is the array you used? Did you download closest.m from here (Matlab File Exchange)?. Thanks.

21 Oct 2013 Closest value(s) from a list Returns the closest value from a list for each target value Author: Javier Lopez-Calderon Vijender

This function takes a hell lot of time for very large arrays. Is there any fast function available for getting closest value.

21 Oct 2013 Closest value(s) from a list Returns the closest value from a list for each target value Author: Javier Lopez-Calderon Vijender

'Closest' syntx is not found in MATLAB 2012b. Can you please tell me in which matlab version this syntx is found.

21 Mar 2011 mat2colon Converts a matrix (row x col) into a string using MATLAB colon notation (single resolution). Author: Javier Lopez-Calderon Bruno Luong

I suggest to merge the two submissions mat2colon and vec2colon into one.

20 Mar 2011 Vector to colon notation Converts a vector into a string with its MATLAB colon notation (single resolution). Author: Javier Lopez-Calderon Bruno Luong

I rather like the idea, but I was disappointed mainly by the fact that the function returns a string instead of number.

- EVAL would be necessary to build back the original array. I would prefer COLON rather than EVAL.
- The precision get lost in the way

vect2colon([0:0.1234567890123456:1],'Class','double')

ans =

0:0.12346:0.98765

I would prefer empty input returns '[]' for the following reason:

>> a=eval(vect2colon([]))
??? Error: Expression or statement is incomplete or incorrect.

The engine could also be better, for example this command takes very long to complete:

>> vect2colon([0:1e-7:1])

and the casting dvec to SINGLE is a clear sign of the limitation of the transformation.

Contact us