Community Profile

photo

William


28 total contributions since 2014

Contact

William's Badges

  • First Review
  • Thankful Level 2
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
3>2>1 returns logical 0?
I think the compiler probably solves this: (3>2)>1 ans = 0 i.e 1>1= 0

mehr als 4 Jahre ago | 0

Answered
How can i create N copies of a vector based on nonzero values in that vector?
not elegant but: Original_Vector=[1 0 5 0 3]; Copy_1=Original_Vector; Copy_1(3)=0; Copy_1(5)=0; etc..

mehr als 4 Jahre ago | 0

Answered
Removing /eliminating bottom rows of a matrix
You named both matrices imat here. For 8x8 matrix named mat, for the first 5 columns and rows i.e. 5x5: mat(1:5,1:5)

mehr als 4 Jahre ago | 0

| accepted

Question


Rearranging filenames with extension .number (Ordering)
I've got batches of data that end in MRDC.number (MRA slices e.g. i3078011.MRDC.205) and I want to order them by filename extens...

fast 5 Jahre ago | 3 answers | 0

3

answers

Question


Savitsky-Golay Filter Problem - Smoothing 3D line
I wanted to smooth a 3d line using the Savitzky-Golay filter, but for this example is seems to not work properly. Any ideas why,...

fast 5 Jahre ago | 1 answer | 0

1

answer

Answered
Brushing a 3D isosurface
Brush it in plot3 and then isosurface plot

fast 5 Jahre ago | 0

| accepted

Answered
Matlab dialog boxes control
can't you write a code inside the exe file that cancels the rest of the code if an incorrect input is recorded? Then you won'...

fast 5 Jahre ago | 0

Question


Brushing a 3D isosurface
Is it possible to manually brush a 3D isosurface plot? I've attached the data, which you apply this function to plot it: ...

fast 5 Jahre ago | 1 answer | 0

1

answer

Question


Using GUIDE - Callback to set of equations through multiple Objects
I've developed a GUI in GUIDE that at various points along a data analysis I need to access a set of equations [a set of calcula...

fast 5 Jahre ago | 1 answer | 0

1

answer

Answered
Plotting colums from matrix
If your data array is like...... data(row,column) a = data(:,7:10) b = data(:,12) hold on plot(a) plot(b) ...

fast 5 Jahre ago | 0

Question


Storing varying sized arrays in a single matrix
I want to store multiple different sized arrays from values 0-1 in a single matrix. # [0 , 1] # [0 , 0.5, 1] # [0 , 0.25, ...

fast 5 Jahre ago | 1 answer | 0

1

answer

Question


3D Fit of Centreline
I've got a 3D data set (shown below) and I want to fit it with a line, the points of this line fit need to be equidistant apart....

fast 5 Jahre ago | 2 answers | 0

2

answers

Question


specifing a colorbar parent/figure
How are you supposed to set the figure to which a colorbar is associated? At the moment, when I introduce a colorbar it automati...

etwa 5 Jahre ago | 1 answer | 0

1

answer

Question


Find 3d branch points - Remove smaller branches
Hello all, I want to *remove small branches* from this skeleton of a vessel, and to be left with just the main binary centerl...

etwa 5 Jahre ago | 1 answer | 1

1

answer

Question


Fill the interior of a cylinder surface - SURF - generated by parametric equations
I've generated a cylinder using the parametric equations: u = linspace(0,2*pi,50); v = linspace(0,2*pi,50); [u,v]...

etwa 5 Jahre ago | 1 answer | 0

1

answer

Question


Toolbar Guide GUI Editor - Tool Creation - Brush
How can I include a brush tool onto my GUI? This is as far as I get function uitoggletool_ClickedCallback(hObject, eventdat...

etwa 5 Jahre ago | 2 answers | 0

2

answers

Question


Store NaN and remove in for loop
*Essentially, I have two arrays of the same size, one contains some NaNs and I want to remove the corresponding points in the se...

etwa 5 Jahre ago | 1 answer | 0

1

answer

Question


Summation equations in matlab
How can I write this equation into Matlab? <</matlabcentral/answers/uploaded_files/23331/equation.png>> Is it equivalent t...

etwa 5 Jahre ago | 3 answers | 0

3

answers

Answered
Centreline fitting in 3d (3D line fitting)
Super, thanks so much

mehr als 5 Jahre ago | 0

Answered
volume enclosed by isosurface
Cleaned up image and counted the data points which represent voxels (of known value)..... easy

mehr als 5 Jahre ago | 0

| accepted

Answered
Simulate circular sound using earphones
Check out this toolbox http://uk.mathworks.com/matlabcentral/fileexchange/19873-simple-audio-editor

mehr als 5 Jahre ago | 0

| accepted

Question


Centreline fitting in 3d (3D line fitting)
Hello everyone, I've got a *centreline data set* of a vessel and I want to connect the points to get an estimation of the *le...

mehr als 5 Jahre ago | 2 answers | 0

2

answers

Question


volume enclosed by isosurface
How can I calculate the volume enclosed by an isosurface, in this case my isosufaces are generally irregular cylinders. I've ...

mehr als 5 Jahre ago | 2 answers | 0

2

answers

Answered
RELATED to average of complex numbers
Separate into real and imaginary component arrays, divide, then recombine: av_real = (real_a + real_b + real_c) / 3; av_i...

mehr als 5 Jahre ago | 0

| accepted

Question


colormap/caxis edit roipoly
I would really appreciate help on this one, Using _roipoly_ to isolate data but when the function displays the initial image ...

mehr als 5 Jahre ago | 2 answers | 0

2

answers

Question


Nested for loop fit with function
I understand for loops are not ideal for Matlab, but not sure how to avoid using them. In this case I have a matrix 'TE_ROI' tha...

fast 6 Jahre ago | 1 answer | 0

1

answer

Question


3-term exponential fit
Hi, I want to fit a 3-term exponential function i.e. y = a*exp(-b*x) + c*exp(-d*x) + e*exp(-f*x) to get coefficients b...

fast 6 Jahre ago | 2 answers | 0

2

answers

Question


Elemental matrix multiplication [NxN] and [1xn] into [NxNxn]
Hi, I want to multiply every element in *A*[NxN] by every value in *B*[1xn] to get *C*[NxNxn] Current code: for i = 1...

etwa 6 Jahre ago | 1 answer | 0

1

answer