Réponse apportée
pore size distribution of a 1x100 surface
So it seems that you are saying the spheres represent solid matter and the rest is air space or vacuum. And you want to know th...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Hi everyone i want to ask about im crop
Since you already know the pixels per cm is 1030, you can crop out a 1 cm region using indexing if you know the upper left row a...

environ 3 ans il y a | 0

Réponse apportée
Remove regions outside a range and find their centroids
If you want the bounding box width to be between 30 and 200, do this labeledImage = bwlabel(mask); % Measure bounding boxes. ...

environ 3 ans il y a | 0

Réponse apportée
Why doesn't matlab have more plot colors?
Well there are 16 million colors and you can use any of them just by specifying the color as a row in a 2-D matrix of the colors...

environ 3 ans il y a | 2

Réponse apportée
When a global variable is justified
@Valtar by not using app designer because you think it gives you better control, well, I take issue with that. I'd like to see ...

environ 3 ans il y a | 0

Réponse apportée
finding a trend line where x axis semilog and y axis linear and trend line follow the eqn y=a*exp(b*x)
See attached demo for fitting data to exponentials. Adapt as needed.

environ 3 ans il y a | 0

Réponse apportée
How to detect a specific region from a given image?
Try this: Threshold the image. If you want to do it interactively, try my utility function https://www.mathworks.com/matlabcen...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
I am embedding pdf into an Image. But after extraction i am getting blank page pdf. How to extract the correct pdf file whatever i have inserted?
See my attached stego/hiding/watermarking demos. Maybe there is something there that you can use or adapt. Good luck.

environ 3 ans il y a | 0

| A accepté

Réponse apportée
My GUI app has a file brows option which is working fine in MATLAB but not working after export to desktop exe
Did you compile your program to a standalone executable? And, if so, did you call filebrowser help filebrowser filebrowser is...

environ 3 ans il y a | 0

Réponse apportée
How to save the output of loop function with different names?
Use exportgraphics: help exportgraphics Sample code snippet. Adapt as needed: folder = pwd; % or 'C;\wherever you want' for...

environ 3 ans il y a | 1

Réponse apportée
How to crop 1 inch
You will need to know how many pixels per inch there are. You can do this by drawing a line along some object in your image tha...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Error: Edge function: variable might be used before it is defined
Try this: edgeData = interp1(xValues(i-1:i + 1),yValues(i-1:i + 1),1:columns,"pchip"); edgeData = round(edgeData); for j = xV...

environ 3 ans il y a | 0

Réponse apportée
Plotting a sine wave going wrong
You're plotting so many cycles that the blue curves all overlap and make the plot solid. Either plot fewer points, or use the z...

environ 3 ans il y a | 0

Réponse apportée
How to count number of only those zeros which are lying between 2 one's in a very simplified way in the given matrix?
Here is one way: a = [0, 0, 0, 0, 1, 1, 1, 1, 0, 0 ,0 ,0 ,0 ,0 ,0 ,1 ,1, 1, 1 ,0 ,0 ,0 ,1 ,0 ,0 ,1 ,1 ,1 ,1 ,1 ,0, 0, 1, 1, 1, ...

environ 3 ans il y a | 0

Réponse apportée
Need help to overlay transparent red on gray scale images (or movie) using a binary mask
You can use the function meant for this: labeloverlay Or see these links: How to overlay a foreground image over a background ...

environ 3 ans il y a | 0

Réponse apportée
i get a couple of errors from my code. I am trying to see if there is an interrelation b/w brightness and counts. I have 2 independent varibles which are device and mode.
To see if there is a correlation between two output variables, regardless of how they were created, wouldn't you just use scatte...

environ 3 ans il y a | 0

Réponse apportée
Plotting the 3D Heat Equation in 2D Slices
"How can I visualize these slices? " <== There are several functions that can display a 2-D slice/matrix: imshow, imagesc, or i...

environ 3 ans il y a | 1

Réponse apportée
How to apply DES Sbox 1?
You can't have a subtraction operation on the left wide of an equals sign: S-box1 = ............... The right side of the equa...

environ 3 ans il y a | 0

Réponse apportée
I am getting wrong text file after extraction process.
Unfortunately you forgot to attach glioma.txt and glioma.jpg. And of course you're saving images out as lossy JPG format, which...

environ 3 ans il y a | 0

Réponse apportée
Generating the edge for a higher intensity pixels and not low intensity pixels.
Not sure what you call low intensity. So if the high intensity mask is all pixels above some threshold, then isn't the low inte...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
specify the number of clusters in dbscan
Like @VM Sreeram said, you can't do that directlywith dbscan, though you could iterate varying the parameter until only two clus...

environ 3 ans il y a | 0

Réponse apportée
How to express color in terms of wavelength.
If you need a spectral image, then don't collect an RGB image. Collect an image with more wavelengths in the first place. You ...

environ 3 ans il y a | 0

Réponse apportée
Get rid off white border in spectrum
Try cropping off the last row and column p = p(1:end-1, 1:end-1) then call fft2.

environ 3 ans il y a | 0

Réponse apportée
Finding max peaks and full width/half max for both curves in the given plot
Does the curve fitter give you the equation of the curve? You should be able to figure it out. Just take each Gaussian and set...

environ 3 ans il y a | 0

Réponse apportée
Animation only exporting 1000 frames
See attached demo. Though the demo doesn't have 1000 frames, I see no reason why it should quit making the movie at 1000 frames...

environ 3 ans il y a | 0

Réponse apportée
array processing and sorting
DId you try std and a for loop? This looks like a homework problem. If you have any questions ask your instructor or read the ...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Sum values on the maximum number of consecutive days
Try this (requires the Image Processing Toolbox); % I have a variable (R_3) with the daily data for 1 year (matrix size is 366 ...

environ 3 ans il y a | 0

Réponse apportée
How do I resolve picoscope DLL error?
Try to load it from a script and see if that works folderThatItIsIn = "c:\whatever"; fileName = fullfile(folderThatItIsIn, "ps...

environ 3 ans il y a | 0

Réponse apportée
Finding Highest Frequency Component from a Sound Recording
You have to define eactly, mathematically what you want when you say "maximum frequecncy component". This is vague and imprecis...

environ 3 ans il y a | 0

Charger plus