Top 1% contributor
2 years ago
Ive looked around but only found depfun() and which(). But is there a command that lists all functions in a toolbox (excluding d...
Asked 2 years ago
subplot(1,3,1); imshow(rand(300)); mt(1) = title('TEST1');
subplot(1,3,2); imshow(rand(300)); mt(2) = title('TEST2');
Answered 2 years ago
If your image is uint8 then there are 2^(3*8) about 16.7 million unique colors. If you have a pixel with 3 uint8 values ([R G...
2 years ago
I don't have much experience with developing algorithms but I am considering the following problem: How to divide a set of numbe...
If I have an 8-bit image IM (e.g. cameraman.tif), why does histeq(IM) produce a different result than histeq(IM,ones(1,256))??
Have you tried .bmp? I think that does not use compression. It should be slightly greater than 100KB due to the header.
Answered 1 year ago
Since you don't know where the cells are, cropping the images could mean deleting the areas with the cancer cells. So it is your...
Yes, just adjust the CLim property of the axes to the desired range. e.g. caxis([0 45]) will map the colors to 0-45 range.
It seems you name your image axes1.
I'm not sure what axes11 is,nor what hadles.loadimage contains.
have you tried image(ax...
I have a logical matrix MASK and a vector VEC with real numbers (uint8 mostly). nnz(MASK) equals length(VEC).
I create a new ...
Im just guessing here, but since the least square fit of your time function (inverse fourier?) is a maximum likelihood estimator...
I suppose you could read the old data into MATLAB, concatenate and then overwrite old .xls file? Maybe not the fastest solution....
Why does eig(SIGMA) give negative eigenvalues?
Takes 2 RGB colors and returns a map or truecolor image. Same options as the colormaps from real2rgb
See the renderer property: get(gcf,'Renderer'). Change that to zbuffer or OpenGL.
I think there are several good points on why NOT to make such a site. Let the users stay in Answers and SO instead of fragmentin...
1 year ago
Simple way of cropping images by specifying the amount of pixels to be cut away from the edges.
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1.
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN.
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
Join the conversation