Respondida
Tracking Min & Max Values in 2D Contour Plot
I don't know how your data is arranged or how you're plotting it, but you should be able to just use plot(). I assume you have ...

alrededor de 2 años hace | 0

| aceptada

Respondida
Generate 3D model from a 2D image
While I'm waiting for MATLAB to load, I'm going to throw this out there. https://www.mathworks.com/matlabcentral/answers/1926...

alrededor de 2 años hace | 0

Respondida
Generate 3D model from a 2D image
I've always found that one of the biggest troubles with resin processes is getting decent reproduction of small islands/holes. ...

alrededor de 2 años hace | 0

Respondida
how to let a "plot" immune on any later " hold off" once this "plot" is created.
Here's one idea. r=10; plot([-35,35], [0,0], 'r-.' ) axis equal hold on % just create a dummy plot object to be used in...

alrededor de 2 años hace | 0

| aceptada

Respondida
use rgb to caculate three brown ratio
The question is unclear. This seems to be what was attempted, but it doesn't make sense given the question statement. inpict =...

alrededor de 2 años hace | 0

| aceptada

Respondida
RGB or HSV
I keep seeing this thread and every time I wish I could ask what the question meant. It's conflating a bunch of terms which the...

alrededor de 2 años hace | 0

Respondida
I made a folder with 12 .fig files, I am attempting to convert these to jpeg using a loop.
Maybe something more like this. D = dir('Figures/*.fig'); % use dir() to get directory contents for K = 1:numel(D) hf = o...

alrededor de 2 años hace | 0

| aceptada

Respondida
Develop a matlab program that generates a 10x10 array of random integers and uses appropriate flow-control structures to search the grid and determine the maximum and minimum
Want to see if your TA can tell you didn't do your own homework? Here's a fair test. [~,A] = system('od -vAn -N200 -tu2 < /dev...

alrededor de 2 años hace | 1

Respondida
How to draw an histogram?
See histogram() and histcounts() A = randn(150,150); % normally distributed random numbers histogram(A) % looks like a gaussia...

alrededor de 2 años hace | 1

Respondida
Plot sequence of images on top of a trajectory
Here's a start. Note that the alignment is just guesswork on my part. Also, I don't know why there's a frame offset between th...

alrededor de 2 años hace | 0

| aceptada

Respondida
How to Extract Data from Contour Image?
As far as I'm concerned, you'd do it the same way you'd extract the lines. Manually. https://www.mathworks.com/matlabcentral...

alrededor de 2 años hace | 1

| aceptada

Respondida
Calculate the derivative of a function using forward, backward, and central difference.
Here are two similar questions, both with good answers. https://www.mathworks.com/matlabcentral/answers/213823-forward-backward...

alrededor de 2 años hace | 0

Respondida
how can i change image brightness ?
https://www.mathworks.com/matlabcentral/answers/347448-how-to-increase-the-brightness-of-an-image

alrededor de 2 años hace | 0

Respondida
how can I make the dilation and erosion process on the image in the cleanest way?
I'm not sure, but I imagine there are better ways of approaching this type of image. This is just something I came up with by o...

alrededor de 2 años hace | 0

Respondida
How Do I Implement Histogram Normalization for RGB Image?
Unless you're converting your image to unit-scale floating point, then these operations will destroy the image. inpict = imrea...

alrededor de 2 años hace | 0

Respondida
How to divide an image into non-overlapping blocks?
This has been asked and answered a bazillion times, so I'll just throw this out there again. If the goal is to subdivide an ima...

alrededor de 2 años hace | 0

Respondida
CONVERT TEXT TO IMAGE
Old question, but let's approach this from the specifics of the original use case. We want a small image of some text. Trying ...

alrededor de 2 años hace | 0

Respondida
How to change scale of y-axes of an image displayed with imagesc?
imagesc() supports the specification of the x and y ranges. I don't know what your x range should be, but since this example im...

alrededor de 2 años hace | 0

| aceptada

Respondida
Change specific colour in an image
See also: https://www.mathworks.com/matlabcentral/answers/52814-switch-between-colors-on-image https://www.mathworks.com/matla...

alrededor de 2 años hace | 1

Respondida
How to apply adapthisteq only on part of an image
I'm going to assume that this is what you mean when you say "right half and bottom half". This will work regardless of whether ...

alrededor de 2 años hace | 0

Respondida
3d Surface chat, limit then extent the Z axis
In lieu of irrelevant AI-generated link spam, consider the example: % fake xyz data n = 100; x = linspace(0,100,n); % x is 10...

alrededor de 2 años hace | 0

Respondida
Distinguish between ASCII and Binary
See also stlGetFormat() from stltools on the FEX, or the improved version included here: https://www.mathworks.com/matlabcentra...

alrededor de 2 años hace | 1

Respondida
How should I go about assigning a color to a range of values in a 1800x1200 array?
If you're just trying to make the whole thing pseudocolor based on known limiting values (e.g. the extrema of the image data), t...

alrededor de 2 años hace | 1

Respondida
I want to display images at their original sizes (e.g., new_img is larger than main_img, but when shown, they appear to be the same size).
Consider this as a compromise if the goal is simply to illustrate the relative scale. main_img = imread('peppers.png'); main_i...

alrededor de 2 años hace | 0

Respondida
Create a movie from matrices
It only looks like you're capturing one frame, and you're not closing the writer object. There's an example in the documentatio...

alrededor de 2 años hace | 1

Respondida
How can I do images averaging after applying different noises?
There are two problems. One is that you're creating a bunch of numbered variables, which is always a great way to complicate th...

alrededor de 2 años hace | 0

Respondida
How to remove red from the image
If you created the original image, then you shouldn't even be trying to do this. Processing damaged mis-sized screenshots is on...

alrededor de 2 años hace | 0

| aceptada

Respondida
Increase plot speed in MATLAB
I think Yair's comment is probably a good start, though perhaps the significance of certain parts have changed over time: https...

alrededor de 2 años hace | 1

Respondida
Why is my diverging colormap not centered as expected?
The problem is caused by when you call crameri(). Remember that a color table is just an ordered progression of color tuples. ...

alrededor de 2 años hace | 1

| aceptada

Respondida
Isolating objects detected in a binary image
You can use the 'image' property from regionprops() to avoid a lot of hassle here. % a logical image with two blobs whose bound...

alrededor de 2 años hace | 1

| aceptada

Cargar más