Feeds
已回答
3>2>1 returns logical 0?
I think the compiler probably solves this: (3>2)>1 ans = 0 i.e 1>1= 0
3>2>1 returns logical 0?
I think the compiler probably solves this: (3>2)>1 ans = 0 i.e 1>1= 0
9 years 前 | 0
已回答
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..
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..
9 years 前 | 0
已回答
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)
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)
9 years 前 | 0
| 已接受
提问
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...
9 years 前 | 3 个回答 | 0
3
个回答提问
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,...
9 years 前 | 1 个回答 | 0
1
个回答已回答
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'...
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'...
9 years 前 | 0
提问
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: ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答已回答
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) ...
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) ...
9 years 前 | 0
提问
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, ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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....
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 1
1
个回答提问
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]...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
Summation equations in matlab
How can I write this equation into Matlab? <</matlabcentral/answers/uploaded_files/23331/equation.png>> Is it equivalent t...
10 years 前 | 3 个回答 | 0
3
个回答已回答
volume enclosed by isosurface
Cleaned up image and counted the data points which represent voxels (of known value)..... easy
volume enclosed by isosurface
Cleaned up image and counted the data points which represent voxels (of known value)..... easy
10 years 前 | 0
| 已接受
已回答
Simulate circular sound using earphones
Check out this toolbox http://uk.mathworks.com/matlabcentral/fileexchange/19873-simple-audio-editor
Simulate circular sound using earphones
Check out this toolbox http://uk.mathworks.com/matlabcentral/fileexchange/19873-simple-audio-editor
10 years 前 | 0
| 已接受
提问
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...
10 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
10 years 前 | 2 个回答 | 0
2
个回答已回答
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...
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...
10 years 前 | 0
| 已接受
提问
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 ...
10 years 前 | 2 个回答 | 0
2
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 3 个回答 | 0
3
个回答提问
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...
10 years 前 | 1 个回答 | 0