Rank: 653 based on 96 downloads (last 30 days) and 8 files submitted
photo

Yvan Lengwiler

E-mail
Company/University
University of Basel
Lat/Long
47.54526519775391, 7.597894191741943

Personal Profile:
Professional Interests:
finance, asset pricing, auction theory, differential equations

 

Watch this Author's files

 

Files Posted by Yvan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Mar 2013 Screenshot Straightforward COPY and PASTE functions Allows very simple manual exchange with other applications through the clipboard. Author: Yvan Lengwiler data import, data export, clipboard 27 16
  • 5.0
5.0 | 11 ratings
25 Oct 2012 Screenshot getxls GETXLS is a GUI that allows you to easily transfer data from an Excel file into Matlab's workspace. Author: Yvan Lengwiler excel, spreadsheet, com server, data import, gui, editorservices 16 5
  • 5.0
5.0 | 3 ratings
07 Oct 2010 Screenshot lscatter : scatter plot with labels instead of markers Similar to ML's scatter command, but allows you to use separate labels for each point. Author: Yvan Lengwiler label, figure, plot, scatter, marker 24 6
  • 5.0
5.0 | 6 ratings
30 Jun 2010 Screenshot Gini coefficient and the Lorentz curve Computes the Gini coefficient and the Lorentz curve of weighted data. Author: Yvan Lengwiler statistics, inequality, distribution 14 2
22 Jun 2010 WHO for a given CLASS Displays a list of variables in the base workspace of a given class. Author: Yvan Lengwiler utility 0 0
Comments and Ratings by Yvan View all
Updated File Comments Rating
30 Jul 2013 getxls GETXLS is a GUI that allows you to easily transfer data from an Excel file into Matlab's workspace. Author: Yvan Lengwiler

Dear Joseph. I'm sorry for your troubles. Also, I was traveling and could not answer earlier. I've checked the problem now. It is most likely due to a ~code, which is used in more recent versions of Matlab to indicate an output variable that is not used. Earlier versions do not understand this. I suggest that you make a global 'search and replace' in the code swapping '~' for 'temp'. I might do this in the next revision of the program to make it more friendly to older versions of Matlab. Hope this helps --- if not, let me know.

26 Mar 2013 Straightforward COPY and PASTE functions Allows very simple manual exchange with other applications through the clipboard. Author: Yvan Lengwiler

Arnold. This seems to be a size constraint of the clipboard itself. Even the more basic attempt to put a 1024x1024 matrix into the clipboard, clipboard('copy',x), fails. So the problem is not in my copy function, but is deeper. I cannot address this, sorry.

19 Mar 2013 Straightforward COPY and PASTE functions Allows very simple manual exchange with other applications through the clipboard. Author: Yvan Lengwiler

Arnold, thank you for your suggestion. I have implemented three options now that allow you to handle non standard decimal separators, horizontal separators, and row separators.
Importing images is a completely different issue. A possible workaround is provided by the fact that an image is really just a three-dimensional matrix. However, these functions cannot handle such objects, so you would have to copy and paste the three colors of an RGB image separately. This is tedious, of course. Doing this more comfortably would be very convenient, but I guess this goes beyond these simple utilities. Or, maybe you have an idea how to do that?

03 Feb 2013 Straightforward COPY and PASTE functions Allows very simple manual exchange with other applications through the clipboard. Author: Yvan Lengwiler

Thank you, Hakan. This is a useful remark. I've uploaded a revision of the 'paste' function that tries to address this issue. It is, I believe, not possible to identify the formatting of the decimal and thousand separators with 100% accuracy (given an arbitrary string). The program will succeed if a comma is present in the number string.

So, both '1'234.56' and '1.234,56' will now be translated into the number 1234.56. Yet, '1.234' will always be interpreted as the number 1.234, even if 1234 was meant.

25 Dec 2011 Straightforward COPY and PASTE functions Allows very simple manual exchange with other applications through the clipboard. Author: Yvan Lengwiler

Robert, thank you for your comment. I'm glad that the functions are helpful.

Comments and Ratings on Yvan's Files View all
Updated File Comment by Comments Rating
30 Jul 2013 getxls GETXLS is a GUI that allows you to easily transfer data from an Excel file into Matlab's workspace. Author: Yvan Lengwiler Lengwiler, Yvan

Dear Joseph. I'm sorry for your troubles. Also, I was traveling and could not answer earlier. I've checked the problem now. It is most likely due to a ~code, which is used in more recent versions of Matlab to indicate an output variable that is not used. Earlier versions do not understand this. I suggest that you make a global 'search and replace' in the code swapping '~' for 'temp'. I might do this in the next revision of the program to make it more friendly to older versions of Matlab. Hope this helps --- if not, let me know.

12 Jul 2013 getxls GETXLS is a GUI that allows you to easily transfer data from an Excel file into Matlab's workspace. Author: Yvan Lengwiler JOSEPH

I downloaded this file on my laptop and when I run it matlab gives an error message says unexpected matlab operator in line 309 column 37. Not really good at matlab, please help

25 Apr 2013 lscatter : scatter plot with labels instead of markers Similar to ML's scatter command, but allows you to use separate labels for each point. Author: Yvan Lengwiler Bas-Jan

Works like a charm, exactly what I needed.

Minor suggestion for improvement: it would be nice if the syntax from the plot-command could be used for the markers/linestyle. For example 'r.' for red dots.

27 Mar 2013 Straightforward COPY and PASTE functions Allows very simple manual exchange with other applications through the clipboard. Author: Yvan Lengwiler D'Errico, John

Nice. useful. Well done.

27 Mar 2013 Straightforward COPY and PASTE functions Allows very simple manual exchange with other applications through the clipboard. Author: Yvan Lengwiler D'Errico, John

Top Tags Applied by Yvan
statistics, combinatorics, data export, data import, excel
Files Tagged by Yvan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Mar 2013 Screenshot Straightforward COPY and PASTE functions Allows very simple manual exchange with other applications through the clipboard. Author: Yvan Lengwiler data import, data export, clipboard 27 16
  • 5.0
5.0 | 11 ratings
25 Oct 2012 Screenshot getxls GETXLS is a GUI that allows you to easily transfer data from an Excel file into Matlab's workspace. Author: Yvan Lengwiler excel, spreadsheet, com server, data import, gui, editorservices 16 5
  • 5.0
5.0 | 3 ratings
07 Oct 2010 Screenshot lscatter : scatter plot with labels instead of markers Similar to ML's scatter command, but allows you to use separate labels for each point. Author: Yvan Lengwiler label, figure, plot, scatter, marker 24 6
  • 5.0
5.0 | 6 ratings
30 Jun 2010 Screenshot Gini coefficient and the Lorentz curve Computes the Gini coefficient and the Lorentz curve of weighted data. Author: Yvan Lengwiler statistics, inequality, distribution 14 2
22 Jun 2010 WHO for a given CLASS Displays a list of variables in the base workspace of a given class. Author: Yvan Lengwiler utility 0 0

Contact us