Rank: 755 based on 95 downloads (last 30 days) and 5 files submitted
photo

Joao Henriques

E-mail
Company/University
University of Coimbra

Personal Profile:

Personal info and publications:
http://www.isr.uc.pt/~henriques/

Professional Interests:

 

Watch this Author's files

 

Files Posted by Joao View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Nov 2012 strjoin Joins cell array into a single string, with delimiter. Small, vectorized and fast. Author: Joao Henriques string, join, str 3 1
12 Feb 2012 Screenshot disptable - Display matrix with column or row labels Displays a matrix with per-column or per-row labels. Author: Joao Henriques display, matrix, table, labels 14 4
  • 5.0
5.0 | 2 ratings
12 Dec 2010 Screenshot Figure to play and analyze videos with custom plots on top A figure ready to scroll through and play videos. You can also draw any custom graphics on it. Author: Joao Henriques video processing, video, figure, visualization, video analysis, image processing 14 0
07 Jul 2010 Screenshot Fast edges of a color image (actual color, not converting to grayscale) Edges of a color image by the max gradient method. Author: Joao Henriques edges, edge detection, color image, image processing 56 6
28 Apr 2010 Screenshot textborder - Higher contrast text using a 1-pixel-thick border Draws text on a figure with a 1-pixel-thick border. Author: Joao Henriques border, figure, text, visualization 8 0
Comments and Ratings by Joao View all
Updated File Comments Rating
13 Jun 2013 Modified CMRmap Produces a colour colormap, of arbitrary length, that is monochrome-compatible. Author: Christopher Hummersone

05 Feb 2013 Recursive directory listing - Enhanced RDIR Files and directories listing, including recursive and other special features Author: Thomas Vanaret

10 Dec 2012 Improved Nystrom Kernel Low-rank Approximation efficient, self-complete implementation of improved Nystrom low-rank approximation Author: Kai

Works as advertised! To train a linear SVM in the Nystrom feature-space, replace the computation of G and Ktilde at the end of INys() with:

M = Ve(:,pidx) * inVa;
Mdata = E * M;

then train SVM with Mdata (which has all training samples in the new feature space). To compute the same features for a test vector z, use:

Mz = exp(-sqdist(z', center')/kernel.para) * M;

and classify with the same linear SVM.

12 Feb 2012 disptable - Display matrix with column or row labels Displays a matrix with per-column or per-row labels. Author: Joao Henriques

I'm glad you found it useful! It certainly makes console output much more appealing, that's why I shared it :)

I think what you mean in your example code is:
>>disptable(exmplematrix,S,'A|B|C|D')

Notice that S is a variable, not a string.

But you're right, there's a small bug with cell arrays. I should have tested that case better. I'm updating the file, but if you don't want to wait, it's simple: just replace iscellarray with iscellstr (it appears 2 times in the file). That's all!

16 Dec 2011 maximize Platform independent function to maximize a figure window. Author: Oliver Woodford

Works as advertised, thank you!

Comments and Ratings on Joao's Files View all
Updated File Comment by Comments Rating
12 Jun 2013 disptable - Display matrix with column or row labels Displays a matrix with per-column or per-row labels. Author: Joao Henriques Gregoire, Jerry

Very nice. Quick easy. saves much fprintf format hassle. Thanks

28 Nov 2012 strjoin Joins cell array into a single string, with delimiter. Small, vectorized and fast. Author: Joao Henriques Simon, Jan

Have you seen: http://www.mathworks.com/matlabcentral/fileexchange/26077-cstr2string ? This C-Mex pre-allocates the output to gain more speed. But even in pure Matlab this might be faster than expanding the input cell string:
delimiter = strrep(delimiter, '\', '\\');
s = sprintf(['%s', delimiter], c{:});

24 Sep 2012 disptable - Display matrix with column or row labels Displays a matrix with per-column or per-row labels. Author: Joao Henriques He, Monica

Thank you!

12 Feb 2012 disptable - Display matrix with column or row labels Displays a matrix with per-column or per-row labels. Author: Joao Henriques Henriques, Joao

I'm glad you found it useful! It certainly makes console output much more appealing, that's why I shared it :)

I think what you mean in your example code is:
>>disptable(exmplematrix,S,'A|B|C|D')

Notice that S is a variable, not a string.

But you're right, there's a small bug with cell arrays. I should have tested that case better. I'm updating the file, but if you don't want to wait, it's simple: just replace iscellarray with iscellstr (it appears 2 times in the file). That's all!

11 Feb 2012 disptable - Display matrix with column or row labels Displays a matrix with per-column or per-row labels. Author: Joao Henriques Isiko, Don

Hi there ^^, just wanted to say thank you very much for this submission! It really helped make my user interface for my project softer on the eyes haha. I was just wondering however, could you also give an example of using as part of the input? I tried the following but matlab wouldn't allow it...

>>disptable(exmplematrix,'S','A|B|C|D')

Where S is a string matrix defined like so:

S={'D1' 'D2 'D3' 'D4'}
S= 'D1' 'D2' 'D3' 'D4'

But whenever I try it says:

??? Undefined function or method 'iscellarray' for input arguments of type 'cell'.

Any help available with this? I'm doing this because I want to make a string that adjust its size depending upon results i.e

Bounce 1 Bounce 2 Bounce 3

Becomes:

Bounce 1 Bounce 2

When there are only results for 2 bounces because of initial values

Thanks!!

Top Tags Applied by Joao
figure, visualization, border, color image, display
Files Tagged by Joao View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Nov 2012 strjoin Joins cell array into a single string, with delimiter. Small, vectorized and fast. Author: Joao Henriques string, join, str 3 1
12 Feb 2012 Screenshot disptable - Display matrix with column or row labels Displays a matrix with per-column or per-row labels. Author: Joao Henriques display, matrix, table, labels 14 4
  • 5.0
5.0 | 2 ratings
12 Dec 2010 Screenshot Figure to play and analyze videos with custom plots on top A figure ready to scroll through and play videos. You can also draw any custom graphics on it. Author: Joao Henriques video processing, video, figure, visualization, video analysis, image processing 14 0
07 Jul 2010 Screenshot Fast edges of a color image (actual color, not converting to grayscale) Edges of a color image by the max gradient method. Author: Joao Henriques edges, edge detection, color image, image processing 56 6
28 Apr 2010 Screenshot textborder - Higher contrast text using a 1-pixel-thick border Draws text on a figure with a 1-pixel-thick border. Author: Joao Henriques border, figure, text, visualization 8 0

Contact us