Rank: 495051 based on 0 downloads (last 30 days) and 0 file submitted
photo

Jean-Philippe

E-mail
Company/University
École de technologie supérieure

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Jean-Philippe View all
Updated File Comments Rating
07 Jun 2012 (Block) tri-diagonal matrices Generate (block) tridiagonal matrices Author: John D'Errico

Thank you, it worked nicely.

07 Jun 2012 (Block) tri-diagonal matrices Generate (block) tridiagonal matrices Author: John D'Errico

Hi, would it be possible to use blktridiag with cell arrays of sparse matrices? I have a 3d volume (nxmxp) and I must create a tridiagonal matrice of size (nxmxp)x(nxmxp) where the matrices (nxm)x(nxm) for all the slices p of the volume are on the main diagonal. The sub and sup diagonals are matrices also of size (nxm)x(nxm) representing the relationship between neighboring slices.

W11 W12 [ ] [ ]
W21 W22 W23 [ ]
[ ] W32 W33 W34
[ ] [ ] W43 W44

Where W21 is the same as W12' (transpose).

Since Matlab doesn't support 3d sparse matrices, I thought I could use a cell array. The function blkdiag from Matlab works with my cell array, but I am missing the sub and sup diagonals.

Thanks you!

20 Dec 2011 vol3d v2 3-d volume (voxel) rendering Author: Oliver Woodford

This script works great to display MRI-like 3d images.

In the case that I have a logical 3d array (ie: a segmentation mask of an anatomical structure from an MRI), how can I use vold3d to only show the resulting mask? I am able to display my MRI model, but when I just want to display the mask I get a blank plot.

I = a [MxNxP] matrix for my MRI [grayscale values 0-255]
J = a [MxNxP] matrix for my mask [logical 0 or 1]

figure;
vol3d('cdata',I, 'texture','3D'); %this works
vol3d('cdata',J, 'texture','3D'); %this is blank
view(3);

Thank you for your help.

Contact us