Rank: 8105 based on 6 downloads (last 30 days) and 1 file submitted
photo

Pascal Schulthess

E-mail
Company/University
Humboldt University of Berlin
Lat/Long
52.53034591674805, 13.37813663482666

Personal Profile:

 

Watch this Author's files

 

Files Posted by Pascal Schulthess
Updated   File Tags Downloads
(last 30 days)
Comments Rating
19 Apr 2010 Sparsity pattern Apply sparsity pattern of one matrix to another. Author: Pascal Schulthess sparse 6 4
  • 1.0
1.0 | 1 rating
Comments and Ratings by Pascal Schulthess View all
Updated File Comments Rating
04 Jul 2014 Schemaball Plot correlation matrix as a schemaball Author: Oleg Komarov

Absolutely fantastic.
But, I'd love a way to also input arbitrary matrices with arbitrary value ranges. Is there a way to do that?

06 Aug 2010 Subversion Interface for Matlab Use the Subversion version control system in Matlab Author: Sean Bryan

I haven't used subversion before, so this might be an easy question for you. I just installed subversion and your script and it seems to work fine. But I get a "some_file is not a working copy" message if I want to check in some_file. What am I doing wrong?

20 Apr 2010 Sparsity pattern Apply sparsity pattern of one matrix to another. Author: Pascal Schulthess

Haha, this is not what i hoped to get as response, but I was searching for a solution which is as simple as yours. And I ended up with this complicated script. D'oh! Thanks for this.

As a result, I will delete my script.

20 Apr 2010 Sparsity pattern Apply sparsity pattern of one matrix to another. Author: Pascal Schulthess

This is a fast coded first version. Please contact me for problems or suggestions for improvement.

Comments and Ratings on Pascal Schulthess' Files View all
Updated File Comment by Comments Rating
20 Apr 2010 Sparsity pattern Apply sparsity pattern of one matrix to another. Author: Pascal Schulthess Wolfgang Schwanghart

I am glad this helped! I hate to give bad ratings. Good luck with your work!

20 Apr 2010 Sparsity pattern Apply sparsity pattern of one matrix to another. Author: Pascal Schulthess Pascal Schulthess

Haha, this is not what i hoped to get as response, but I was searching for a solution which is as simple as yours. And I ended up with this complicated script. D'oh! Thanks for this.

As a result, I will delete my script.

20 Apr 2010 Sparsity pattern Apply sparsity pattern of one matrix to another. Author: Pascal Schulthess Wolfgang Schwanghart

To be honest, I am not quite sure what this function is supposed to do different from this statement:
OutPatternMatrix = spones(InPattern).*InMatrix;

Your function help doesn't help much to clarify.

Moreover, your function returns an error for following example:
>> InPattern = sprand(5,5,0.4);
>> InMatrix = sprand(5,5,0.4);
>> OutPatternMatrix = sppattern(InPattern,InMatrix)
??? Error using ==> sparse
Vectors must be the same lengths.

Error in ==> sppattern at 30
OutPatternMatrix = sparse(iP,jP,sT,m,n);

20 Apr 2010 Sparsity pattern Apply sparsity pattern of one matrix to another. Author: Pascal Schulthess Pascal Schulthess

This is a fast coded first version. Please contact me for problems or suggestions for improvement.

Contact us