Rank: 960 based on 151 downloads (last 30 days) and 12 files submitted
photo

Jordi Palacin

E-mail
Company/University
Universitat de Lleida

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Jordi View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
30 Jul 2013 Screenshot text2pdf Simple and direct text to pdf conversion. Author: Jordi Palacin pdf creation 11 0
24 Jun 2013 Screenshot DigitalTimer DigitalTimer Author: Jordi Palacin timer, digital timer, time measurement 4 0
24 Jun 2013 Screenshot DigitalClock DigitalClock APP with alarm Author: Jordi Palacin clock, digital clock, alarm clock 19 0
14 Mar 2011 Screenshot calc calc.m is a basic and simple calculator in a single script file. Author: Jordi Palacin gui 9 0
22 Feb 2011 Screenshot ReversePlot To create a new plot from a scanned image file Author: Jordi Palacin data exploration, scanned plot, ocr plot, graphics, reverse, vectorial 43 11
  • 4.66667
4.7 | 6 ratings
Comments and Ratings on Jordi's Files View all
Updated File Comment by Comments Rating
18 Jul 2014 eng2num Decodification of engineering representation. Author: Jordi Palacin Cobeldick, Stephen

Disclaimer: In the end I could not find any FEX submission that gave the correct outputs for the wide range of test-cases that I tried, so I ended up writing my own function. You can find it here:
http://www.mathworks.com/matlabcentral/fileexchange/33174

18 Jul 2014 eng2num Decodification of engineering representation. Author: Jordi Palacin Cobeldick, Stephen

As per its corollary "num2eng" from the same author, this file is also missing an H1 line, has several mlint messages that need attention, uses a "for" loop with a "break" command, and repeats a lot of code. The conversion behavior is substandard, particularly the complete inability to recognize the SI prefixes y, z, a, n, E, Z, and Y. In addition any negative, Inf or NaN value returns an empty numeric without warning, eg: '-1' -> []. E-notation in the number is ignored, and for the prefixes p and f incorrect values are returned, eg: '1 p' -> 1e-9 (should be 1e-12).

This submission needs a major re-write.

15 Jul 2014 num2eng Number representation with engineering units. Author: Jordi Palacin Cobeldick, Stephen

This submission has several major issues that need to be fixed, in particular:
- it goes into an infinite loop if the input is zero, negative or +-Inf.
- any value with a magnitude less than -15 is returned only as '0.000f'... why did my data disappear?
- any value with a magnitude greater than 18 only adds more zeros, eg 1e22 -> '10000000P' (should be '10 Z').
- Capital 'K' should be lower case 'k' for the prefix 'kilo'.
- NaN -> 'NaNm'
- [] -> 'm'
The lack of an H1 line, help section and input/output description, several "mlint" messages that need attention and repeated code indicates that this function could do with a tidy-up. Some input checking is required and precision control would be nice too, although on the plus side, those examples are handy.

14 Jul 2014 num2eng Number representation with engineering units. Author: Jordi Palacin Cobeldick, Stephen

In the end I could not find any FEX submission that gave the correct outputs for the wide range of test-cases that I tried, so I ended up writing my own function: you can find it on FX
http://www.mathworks.com/matlabcentral/fileexchange/33174

02 Jun 2012 ReversePlot To create a new plot from a scanned image file Author: Jordi Palacin Anna

Great code!

Contact us