Wouter
Academic Medical Center, Amsterdam / University of Amsterdam
2013년부터 활동
Followers: 0 Following: 0
Professional Interests: medical image processing, mri
Feeds
답변 있음
Round double value to 2 decimal
How about this: a = rand(1,10); y ={}; n=length(a); for k = 1:n y{k} = sprintf('%0.2f',a(k)); end Be...
Round double value to 2 decimal
How about this: a = rand(1,10); y ={}; n=length(a); for k = 1:n y{k} = sprintf('%0.2f',a(k)); end Be...
11년 초과 전 | 0
답변 있음
How to store values of iterations
index = []; for i=1:length(data) x = i+1; if i == length(data) x = length(data); end ...
How to store values of iterations
index = []; for i=1:length(data) x = i+1; if i == length(data) x = length(data); end ...
11년 초과 전 | 1
| 수락됨
답변 있음
Vector addition with 2-dim array
you could use this oneliner: result = A - (ones(size(A,1),1)*v);
Vector addition with 2-dim array
you could use this oneliner: result = A - (ones(size(A,1),1)*v);
11년 초과 전 | 0
| 수락됨
답변 있음
Problems with plotting multiple objects over each other
You could try to edit the renderer of the figure window: set(gcf,'renderer','opengl') % changes the renderer of the current ...
Problems with plotting multiple objects over each other
You could try to edit the renderer of the figure window: set(gcf,'renderer','opengl') % changes the renderer of the current ...
11년 초과 전 | 0
답변 있음
How can I plot functions on sphere?
You should probably use convhull to get the connections between the points (vertices): K = convhull(points); You can then...
How can I plot functions on sphere?
You should probably use convhull to get the connections between the points (vertices): K = convhull(points); You can then...
11년 초과 전 | 0
답변 있음
How can I plot this Function in MATLAB?
I would make a function of it: function y = custom_function(x) % y = custom_function(x) y = zeros(size(x)); %m...
How can I plot this Function in MATLAB?
I would make a function of it: function y = custom_function(x) % y = custom_function(x) y = zeros(size(x)); %m...
11년 초과 전 | 0
| 수락됨
답변 있음
Reshaping a matrix using a loop or any function inbuilt.
a suggestion: permute(matrix,[1 3 2]) this switches dimension 2 and 3 and effectively changes the size of your matrix
Reshaping a matrix using a loop or any function inbuilt.
a suggestion: permute(matrix,[1 3 2]) this switches dimension 2 and 3 and effectively changes the size of your matrix
11년 초과 전 | 0
답변 있음
binary image access in matlab
if all the files are in the same folder you could use: pathtofiles = '/path/to/folder/'; allfiles ...
binary image access in matlab
if all the files are in the same folder you could use: pathtofiles = '/path/to/folder/'; allfiles ...
11년 초과 전 | 0
답변 있음
Remeshing points on curved line
If it is a straight line with evenly spaced points you could do this: S % original S; % Nx2 matrix from_value = S(1); %...
Remeshing points on curved line
If it is a straight line with evenly spaced points you could do this: S % original S; % Nx2 matrix from_value = S(1); %...
11년 초과 전 | 0
답변 있음
Setting Delays and Opening new Form, Closing old forms in GUI
you can set a 3 second delay by (this does pause matlab entirely though): pause(3) you can open a new gui using: GuiF...
Setting Delays and Opening new Form, Closing old forms in GUI
you can set a 3 second delay by (this does pause matlab entirely though): pause(3) you can open a new gui using: GuiF...
11년 초과 전 | 0
| 수락됨
답변 있음
Selecting a .txt file from different location
You could try this: [filename, pathname] = uigetfile('*.txt', 'Pick txt file','/Path/to/folder/Data/'); a1 = fullfile(pa...
Selecting a .txt file from different location
You could try this: [filename, pathname] = uigetfile('*.txt', 'Pick txt file','/Path/to/folder/Data/'); a1 = fullfile(pa...
11년 초과 전 | 1
| 수락됨
답변 있음
How to set all the labels for 2 different axes in matlab gui?
like this: xlabel(handles.axes1,'Radius') ylabel(handles.axes1,'Radius') zlabel(handles.axes1,'E-field') xlabel(ha...
How to set all the labels for 2 different axes in matlab gui?
like this: xlabel(handles.axes1,'Radius') ylabel(handles.axes1,'Radius') zlabel(handles.axes1,'E-field') xlabel(ha...
11년 초과 전 | 0
| 수락됨
답변 있음
Minimize error between data distribution and expected distribution
Do you know this function: histfit
Minimize error between data distribution and expected distribution
Do you know this function: histfit
11년 초과 전 | 0
답변 있음
how can i open minc image files in matlab
You could try this: <http://www.mathworks.com/matlabcentral/fileexchange/32644-loadminc>
how can i open minc image files in matlab
You could try this: <http://www.mathworks.com/matlabcentral/fileexchange/32644-loadminc>
11년 초과 전 | 1
답변 있음
Convert binary image to rgb image again ?is it possible?
You can create a masked RGB image from the Ibw and Irgb images; by using: Irgb_new = Irgb; Irgb_new(~repmat((Ibw),[1 1 3])...
Convert binary image to rgb image again ?is it possible?
You can create a masked RGB image from the Ibw and Irgb images; by using: Irgb_new = Irgb; Irgb_new(~repmat((Ibw),[1 1 3])...
11년 초과 전 | 0
답변 있음
Efficient data storage for real-time simulation
You could try to update these lines: trisurf(f,v(:,1),v(:,2),v(:,3)); drawnow; Into: if ~exist('htri','...
Efficient data storage for real-time simulation
You could try to update these lines: trisurf(f,v(:,1),v(:,2),v(:,3)); drawnow; Into: if ~exist('htri','...
11년 초과 전 | 0
| 수락됨
질문
Describe angulated slices using imref3d
Just found out about the functions imref2d and imref3d and I am a bit puzzled on how to implement angulated slices. sliced...
11년 초과 전 | 답변 수: 1 | 1