Answered
code to detect lips and nose in a detected face
imshow(your_face_image); Hmbx = msgbox('Please click the nose first then the lips!'); uiwait(Hmbx) [x y] = ginput(2); fpri...

15 years ago | 0

Answered
Remove some elements from a matrix but conserve the same struct
Rafael, then set everything in the range you described to NaN, and mesh will pretend they're not there. X(X>=-1&X<=5) = nan...

15 years ago | 2

Answered
Minimum value with row index
idx = min(find(ba==minba))

15 years ago | 0

| accepted

Answered
Remove some elements from a matrix but conserve the same struct
x2 = cellfun(@(x)x(x>5|x<-1),num2cell(x,2),'uni',false)

15 years ago | 0

Answered
error: index must be a positive integer or logical -- create movie --SOLVED
It's right here: u(j-1,i)) j = 1; and thus j-1 = 0 which is not a valid index. to plot more effectively hold on before...

15 years ago | 0

Answered
Dividing and filling an irregularly shaped image
Of course it can! Ms = zeros(256,256,3,'uint8'); %preallocate Ms(:,:,1) = poly2mask([95 106 118],[48 66 45],256,256); %3 rand...

15 years ago | 1

Answered
How to save a matrix as text file?
doc dlmwrite doc fwrite

15 years ago | 3

Answered
Coor image enhancement in spatial domain
I don't know but Coors tastes like water. I would recommend changing the taste before trying to enhance the image!

15 years ago | 1

Answered
Index multiple elements in a vector using logical indexing
Oleg's way is probably faster, but also: D = C(any(bsxfun(@eq,A.',B),2))

15 years ago | 0

| accepted

Answered
how to improve the condition of matrix
Do you have boundary conditions applied to your stiffness matrix? If you don't apply boundary conditions the problem is, by def...

15 years ago | 0

Answered
When opening GUI with GUIDE I get errors and a weird behavior
I get the java errors all of the time when creating figures (usually with imshow) but they don't seem to hurt anything so I just...

15 years ago | 0

Question


What is your favorite MATLAB related spam email?
I received this one this weekend that has to take the cake for me: %%%%%%%%%% Subject: i need your help %%%%%%%%%% Hi, How ...

15 years ago | 1 answer | 1

1

answer

Answered
Dividing and filling an irregularly shaped image
how about: doc poly2mask ? Create a mask for each reason; then augment them together as a label matrix (i.e background = 0;...

15 years ago | 0

Answered
Matrix manipulation
M3 = sum((Groundtruth(:)-double(Haarbk2(:))).^2);

15 years ago | 0

Answered
floating point question
The digits are there; they just aren't displayed. format long to view them

15 years ago | 2

| accepted

Answered
Inner matrix dimensions problem
vectorize('z = ((2*pi)/(3*i^3))*(1-cos(i*pi))*sin(i.*x)*(exp(-3*(i^2).*t) + 2*cosh(2*(i^2).*t));') ans = z = ((2.*pi)./(...

15 years ago | 1

Answered
remove overlapping spots
Z(region1&region2) = 0; Post your image so we can see it and you'll get better results.

15 years ago | 0

| accepted

Answered
features for face recongition
Nose size.

15 years ago | 0

Answered
Assign variables to positions in matrix
B = [3;4]; %column vector B = [3 4]; %row vector B = [1 2; 3 4]; %2x2 matrix. Ps B = A\C; %is better than inv(A)*C

15 years ago | 0

Answered
two related problems (?) workspace size and xlsread
1) In order to save large files you have to save it as -V7.3 Look it up in: doc save 2) No idea. Good Luck!

15 years ago | 0

Answered
¿Cómo puedo importar una señal que tengo guardada en formato csv?
My spanish is pretty poor but I'm going to guess you want to look at doc csvread

15 years ago | 0

Question


@Matt Fig: where's our hump-day puzzler?
Thank you!

15 years ago | 1 answer | 0

1

answer

Answered
What should take the longest time to run in matlab?
You're correct! There is overhead in calling a function. There is additional overhead if the function is new or if the command...

15 years ago | 0

Answered
anyone can tell me about radon transform?
You will never be able to recover the same image as the original and some data will be lost as you are resampling twice (radon, ...

15 years ago | 0

Answered
anyone can tell me about radon transform?
The more angles you have, the more data is sampled, the higher quality an image you recover. What are you trying to accomplis...

15 years ago | 0

| accepted

Answered
Separating a group of higher intensity pixels in an image
Then use: bwareaopen to remove small blobs.

15 years ago | 0

Answered
Solving Simultaneous Equations need HELP ASAP
once you get the lines of equations from solve use subs and double to get meaningful values.

15 years ago | 0

Answered
Detection of rectangles
I would start with: doc hough

15 years ago | 0

Answered
How to Add Multiple Arrays?
doc cat doc sum

15 years ago | 0

Load more