Rank: 4526 based on 24 downloads (last 30 days) and 2 files submitted
photo

Changqing Xu

E-mail

Personal Profile:
Professional Interests:
Image processing, computation

 

Watch this Author's files

 

Files Posted by Changqing View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
15 May 2010 a short code for creating a random (1,-1) matrix This is a very short code file for creating a random matrix whose entries are either 1 or -1. Author: Changqing Xu random matrix, binary, singularity, determinant 6 2
  • 1.0
1.0 | 2 ratings
20 Nov 2008 Matrix Permanent Computation of matrix permanent Author: Changqing Xu matrix, permanent, configuration 18 4
Comments and Ratings by Changqing View all
Updated File Comments Rating
02 Aug 2009 MAGIC - MATLAB Generic Imaging Component Tutorial GUI to demonstrate basic functionality of various controls on the GUI Author: Mark Hayworth

Great! A nice display on how to use gui to play vedio

12 Nov 2008 Video: GUIDE Basics Tutorial Five minute video about building GUIs in MATLAB. Author: Doug Hull

Comments and Ratings on Changqing's Files View all
Updated File Comment by Comments Rating
25 Jul 2014 Matrix Permanent Computation of matrix permanent Author: Changqing Xu Daryl

Note bug when using complex matrices. You should alter the complex transpose ' to just a transpose .' near the bottom.

14 Nov 2012 Matrix Permanent Computation of matrix permanent Author: Changqing Xu Winslow, Luke

Hey, I wrote a matrix permanent function which is non-recursive and uses the ryser algorithm. It works much better on medium and larger sized matrices. It can be found here: http://www.mathworks.com/matlabcentral/fileexchange/36224-matrix-permanent-using-ryser-algorithm

13 Jul 2012 Matrix Permanent Computation of matrix permanent Author: Changqing Xu D'Errico, John

Loga - The issue is not with the age of your matlab release, but that this code is written using recursive means. For a matrix of even meager size it will fail miserably due to the immense amount of time required. You can be thankful that it did fail because of the recursion limit, as it would have taken forever to run otherwise. Only reasonably small matrices will work in this code.

13 Jul 2012 Matrix Permanent Computation of matrix permanent Author: Changqing Xu nathan, Loga

I down loaded the code and tried to run in my licensed R2010, The error " The maximum recursion exceeded......' I set the recursion limit, say N= 500. Still the same error appeared. So the code does not work with Matlab R1010???

18 May 2010 a short code for creating a random (1,-1) matrix This is a very short code file for creating a random matrix whose entries are either 1 or -1. Author: Changqing Xu Jos (10584)

Indeed poorly coded using an unnecessary double-for loop (with pre-allocation though!), limited to 2D sqaure matrices only.

A vectorized, (too!) simple and flexible approach:

function R = rand01(varargin)
% H1 line goes here
% help goes here
R = 2*(rand(varargin{:})>0.5)-1 ;

Contact us