Answered
How to delete this files..?
Ensure that you have the permission to delete the files.

13 years ago | 0

Answered
Plotting simple algorithm, problem with axis
Reverse the arguments of plot(x,y) plot(1:N-1, y)

13 years ago | 0

| accepted

Answered
Create texture image from given Haralick texture features
http://www.mathworks.com/matlabcentral/fileexchange/36233-haralick/content/haralick.m

13 years ago | 0

Answered
How to read specific fields from multiple structure arrays in MATLAB?
A = Flight([Flight.Mach] == 0.8); B = Flight([Flight.testpoint] == 2);

13 years ago | 0

Answered
How to do Box plot for multiple variables? Codes please.
boxplot(X) produces a box and whisker plot with one box for each column of X. So if you have 25 columns you get a box for each ...

13 years ago | 0

Answered
I want to find different values in different matrices at the same date???
A = [1 3; 2 4; 5 8]; B = [[1:5]' [ 40 50 60 70 80]']; for i = 1:size(A, 1) B(find(A(i,1)== B(:,1)), 3) = A(i, 2);...

13 years ago | 0

| accepted

Answered
"print" saves image with tiny title/xlabel
To export figures nicely, you may want to have a look at http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig

13 years ago | 0

Answered
write data to a .txt file
fprintf(fid, '%d;%d;\n', [A' B'])

13 years ago | 0

Answered
Use interp1 to interpolate a matrix row-wise
for i = 1:size(E, 1) new_c(i) = interp1(E(i, :), C(i, :), 0, 'linear', 'extrap'); end

13 years ago | 0

Answered
imresize is blurring my image!
I = imresize(I, [32 32], 'nearest');

13 years ago | 1

| accepted

Answered
imread and imwrite commands showing an error like ' file does not exist '..so is that necessary to add image in matlab??if yes then how it cud be done..plz help..
When your image is stored at some location ('C:\Documents and Settings\yourname\My Documents\images\lena.tif') use I = imrea...

13 years ago | 8

| accepted

Answered
Image threshold value question
I = imread('cameraman.tif'); a = 100; b = 150; ind = setdiff(find(I > a), find(I < b)); B = logical(size(I)); B(ind) = ...

13 years ago | 0

Answered
Please explain function of [\w.]+
\w a word character [a-z_A-Z0-9] followed by any character (the .) matched one or more times ( +).

13 years ago | 0

| accepted

Answered
How can I arrange the ylabels using subplot and plotyy such that they do not overlap?
You may want to move your current subplot to the right pos = get(gca, 'Position'); pos(1) = pos(1) + 0.05; set(gca, 'Pos...

13 years ago | 0

| accepted

Answered
How to mutate '0' to '1' and '1' to '0' in GA code Using MATLAB?
R = rand(16, 30) > 0.5; ind = ceil(numel(R)*rand(64,1)); R(ind) = R(ind) == 0;

13 years ago | 0

Answered
Computing pixels value(Uk,Uj) from U -Image in YUV color Space
To get the pixel values of a gray scale image I = imread('cameraman.tif'); x = 20; y = 30; Ixy = I(y, x); To get th...

13 years ago | 0

Answered
how to select region of interest with same parameter in different image..
Select first image ROI [B1 x y] = roipoly(I1); Use selected ROI on another image B2 = roipoly(I2, x, y);

13 years ago | 0

| accepted

Answered
how to convert grayscale image to color image?
You need some heuristics of how to infer two additional two channels. For example, you could match the brightness, e.g., the lig...

13 years ago | 0

Answered
How to find out windowwise mean and standard deviation of some particular pixels.
Hi Mahua Nandy(Pal), that's all quite straight forward: 1. Let's say you have your image in I and your particular positions i...

13 years ago | 0

Answered
Matlab integer format for answer
Because the result is not an integer. To convert from decimal to integer, use one of these functions: round, floor, ceil

13 years ago | 1

Answered
How to plot implicit function with 3 variables?
http://www.mathworks.com/matlabcentral/fileexchange/23623-ezimplot3-implicit-3d-functions-plotter

13 years ago | 0

Answered
optimization routine for function that is not smooth and also has a lot of local minimum
http://en.wikipedia.org/wiki/Simulated_annealing

13 years ago | 0

Answered
separate specific values from matrix
ind = find(X(:, 1) > 4000); Y = X(ind, :);

13 years ago | 0

| accepted

Answered
add additional parameter to contour plot to generate 3d plot
You can use scatter3 and experiment with the size and the color of the dots scatter3(X(:), Y(:), Z(:), 100*map01(V(:))+0.1,...

13 years ago | 0

Answered
Trying to plot a radial contour
You try to visualize the contours of a 2 x 2 image. That should most likely look degraded. And note that for the values chosen e...

13 years ago | 0

| accepted

Answered
Resizing two images to the same pixel dimensions without aspect ratio distortion
You have found no way because there is no way. If you resize an image A to match the size of another image B the aspect ratio of...

13 years ago | 0

Answered
using fprintf within a function
If you do not insist on fprintf, you can get the output using grade = 83; disp(['The corresponding letter grade to ' i...

13 years ago | 0

Answered
find the location of minimum value
R = rand(4,4,4,4); for i = 1:size(R, 3) for j = 1:size(R, 4) [min_val(i, j) min_ind(i, j)] = min(flatten(R(:,:,...

13 years ago | 0

Answered
How can i have a color bar depending on vector intensity using m_quiver
http://www.mathworks.com/matlabcentral/fileexchange/3225-quiverc

13 years ago | 0

Load more