Answered
Surf function problem
I.e. the known Y-values that you used for your regression? How about: scatter3 or plot3 to overlay them on your s...

15 years ago | 1

Answered
Surf function problem
You'll have to use meshgrid to generate your index matrices. [X1 X2] = meshgrid(1:50); c = pi; a = 2; b = -3; ...

15 years ago | 1

| accepted

Answered
Finding energy from co-occurrence matrix
Just a quick comment: your line inside the for-loop never references ctr2, probably typo. You could vectorize both for-loops wi...

15 years ago | 0

Answered
Saving a Bilevel - or Binary Image
B = false(X, Y, 1, NumberOfFrames); %casts as logical (1bit) or B = logical(B); %for something already in black and whi...

15 years ago | 0

Answered
Ho do I calculate the angle between two 3d triangles?
Your problem looks very similar (i.e. identical) to this one: <http://stackoverflow.com/questions/2142552/calculate-the-degre...

15 years ago | 0

Answered
3D Matrix to create 3D graphic
What doesn't work about this? [xx yy zz] = meshgrid(1:5) scatter3(xx(:),yy(:),zz(:),20,sortrows(repmat([1 0 0; 0 0 1; 0...

15 years ago | 0

Answered
Extracting entries from vector B that are best estimate each entry in vector A
A = 1.6:11; B = 1:20; [junk, idx] = min(bsxfun(@(x,y)abs(x-y),A.',B),[],2); C = B(idx);

15 years ago | 0

Answered
Help getting started with facial recognition through feature vector analysis.
There are many threads on this topic in the newsreader archives: <http://www.mathworks.com/matlabcentral/newsreader/search_re...

15 years ago | 0

| accepted

Answered
3D Matrix to create 3D graphic
I really don't understand what you're aiming for. Do you want a colormap based on height? If so you could use multiple calls ...

15 years ago | 0

Answered
viewing the stacked 3d matrix
doc slice doc isosurface doc implay a few ideas...

15 years ago | 0

Answered
clearing an instance of a structure variable
a = a(2)

15 years ago | 1

Answered
dicomwrite function help needed
Perhaps give this tool on the FEX a try: <http://www.mathworks.com/matlabcentral/fileexchange/27941-dicom-toolbox>

15 years ago | 0

| accepted

Answered
How do I work with a two dimensional array with for loops in MATLAB?
Best way would be: New = repmat(P,4,1); You should also read up on indexing cell arrays.

15 years ago | 2

Answered
Help with an image thinning problem
Wouldn't it make sense that the length is smaller since you've thinned it?

15 years ago | 0

Question


Can we "Watch" Answers?
I.e. receive an email when someone replies to something you posted?

16 years ago | 3 answers | 5

3

answers

Answered
Improving resolution for a surf plot in MATLAB
Interpolate to refine your mesh. doc interp3

16 years ago | 1

Answered
How to compute volume and aspect ratio of a 3D geometry?
If the volume is convex then the second output argument to convhulln will be the volume. If it is not convex then there...

16 years ago | 2

| accepted

Answered
Help with plotting
help annotation help line help grid a few hints...

16 years ago | 1

Answered
Creating a matrix of blank spaces.
You could use repmat: repmat(' ',[3 3])

16 years ago | 10

| accepted