Answered
forward difference
doc diff

15 years ago | 0

Answered
level set based
See my shrinkWrap function on the FEX.

15 years ago | 1

Answered
Loop that creates arrays
doc cell You need cell arrays.

15 years ago | 1

Answered
Permute matrix elements across rows
[xx yy zz] = ndgrid(X(:,1),X(:,2),X(:,3)); X3 = sortrows([xx(:), yy(:),zz(:)],[1 2 3]); isequal(X2,X3) % ans = 1

15 years ago | 3

| accepted

Answered
Differential equation problem- using boundary conditions instead of initial conditions
doc bvp4c and friends

15 years ago | 0

| accepted

Answered
finding a closed region
Imap = I == 255; What do you mean by "closed regions"?

15 years ago | 0

Answered
Elements relation on a matrice? Basic
doc sortrows for this case sortrows(A,[1 2])

15 years ago | 0

| accepted

Answered
Finding maximum value in a vector
max(double(CT)) perhaps

15 years ago | 0

Answered
Camera Sensor Comparison using Input and Output Images
A few places to look: doc maketform doc makeresampler doc tformarray doc imtransform

15 years ago | 0

Answered
how do i check that my program is working by using excel?
Don't! Check that it works using MATLAB!

15 years ago | 1

Answered
Drawing Polygons and Points
doc hold To understand. The solution: figure; fill(your_stuff) hold on plot(your_stuff)

15 years ago | 0

| accepted

Answered
finding the volume of the pores in the 3D image
Upper threshold the gray scale image. To find a threshold I would recommend starting with Otsu's method. I = your_image; ...

15 years ago | 1

| accepted

Answered
How to plot a simple curve
plot(1:.1:10,1:.1:10.^2)%x = 1 to 10 with spacing of 0.1 Also read the getting started documentation. %SCd

15 years ago | 0

Answered
Morphology operator
imfill(bw,'holes'); will only work if the black object is not connected to the background _anywhere_. I.e. if the hair look...

15 years ago | 0

Answered
Detection of objects
is 0 a "real positive integer"? Unlike other languages, MATLAB begins indexing at 1. e.g. x(0) => your_error x(1) => indexes ...

15 years ago | 0

| accepted

Answered
Image noise detection and reduction
I'm not sure how "cool" it is, or if it's applicable to your type of noise, but a good starting place is a median filter doc...

15 years ago | 1

Answered
Reshaping Multiple Matrices
<http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F> FAQ4.6

15 years ago | 0

Answered
How can I get the percentage of each individual color from an RGB image?
Do you mean: I = your_RGB_image; rgb_percent = squeeze(sum(sum(I,1),2))/sum(I(:))*100 %SCd

15 years ago | 0

| accepted

Answered
How do I fix a "Subscripted assignment dimension mismatch."
probably have to do: watermarked_image = rgb2gray(watermarked_image); then Jan's reshape call

15 years ago | 0

Answered
How to separate RGB values of an image.
You could also do it so you have a cell array with each index being a 3x1 vector, perhaps: I2 = cellfun(@squeeze,num2cell(I...

15 years ago | 0

Answered
How to separate RGB values of an image.
Rchannel = I(:,:,1); Gchannel = I(:,:,2); Bchannel = I(:,:,3);

15 years ago | 0

Answered
GUI, Timer/Counter
<http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples> GUI 19

15 years ago | 0

| accepted

Answered
Printing issues on a Mac
I've never had it work on my Mac (R2009b, 64bit).

15 years ago | 0

Answered
Ideas wanted for a project to do as a second year electrical engineer.
Design a PID controller to control an actuator given a load reading from a load cell. Have the actuator be applying the load to...

15 years ago | 0

Answered
Matrix Indexing
This will work, may not be faster than a loop. t_on = [2 10 20]; t_off = [5 15 23]; pts = cellfun(@(x)(x(1):x(2)),num2ce...

15 years ago | 0

Answered
MATLAB xlswrite function
Because 2^16-1 is the largest number Excel can represent since it's 16 bit unsigned.

15 years ago | 0

| accepted

Answered
Basic loop syntax in MATLAB: for k=1:n
it means that everything between that line k = 1:n and end will be evaluated with k = every integer between 1 and ...

15 years ago | 2

Answered
3D image stack plot in MATLAB
I would take a look at: slice

15 years ago | 0

Answered
About iris Recognition Project
doc bwconncomp doc regionprops

15 years ago | 0

Answered
Surf function problem
Yes. figure; surf(...) hold on scatter3(...)

15 years ago | 1

Load more