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

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

Respondida
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 ...

más de 13 años hace | 0

Respondida
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);...

más de 13 años hace | 0

| aceptada

Respondida
"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

más de 13 años hace | 0

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

más de 13 años hace | 0

Respondida
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

más de 13 años hace | 0

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

más de 13 años hace | 1

| aceptada

Respondida
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...

más de 13 años hace | 8

| aceptada

Respondida
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) = ...

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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;

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

Respondida
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);

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

Respondida
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

más de 13 años hace | 1

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

Respondida
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,...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

Respondida
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(:,:,...

más de 13 años hace | 0

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

más de 13 años hace | 0

Cargar más