Discussion


Caution. This is MATLAB.
Caution. This is MATLAB.

más de 2 años hace | 1

Discussion


MATLAB is the best programming language
MATLAB is the best programming language

más de 2 años hace | 3

Discussion


I think this is the beginning of a beautiful friendship.
Casablanca

más de 2 años hace | 1

Discussion


MATLABlypse Now
I love the smell of debugged MATLAB code in the morning. Smells like...Victory!

más de 2 años hace | 1

Respondida
Converting 3D matrix to 2D matrix image
Try these two code snippets. The first one gives you a grayscale image, regardless of what's in the file. originalImage = imre...

más de 2 años hace | 1

Respondida
Is there a method to capire similarity between two images?
See https://en.wikipedia.org/wiki/Content-based_image_retrieval#Content_comparison_using_image_distance_measures In MATLAB, you...

más de 2 años hace | 0

Respondida
How to change the scale of color bar to discrete ?
Try this. Adapt as needed: % Read in sample image. grayImage = mat2gray(imread('cameraman.tif')); % Make a colormap with 10 ...

más de 2 años hace | 0

Respondida
Polynomial fit of a wavefront profile
I'm not familiar with that optical technique. Is a "wavefront gradient profile" the same as a "wavefront profile"? You refer t...

más de 2 años hace | 0

Respondida
I WANT TO EXTEND MY X-AXIS
Not sure what you want. I'm guessing it's either repmat or xlim

más de 2 años hace | 0

Respondida
I am plotting streamflows on a drainage map for a region. I want to make the lines thicker and more evident in the image shown. Any suggestions on how to make that possible?
With many plotting/graphics functions there is a 'LineWidth' option. Look for that.

más de 2 años hace | 0

Respondida
Getting average for a range of data on a plot. Not entire range, only for a section.
"I just need the mean value of all the values at steady state." <== So use histogram or histcounts.

más de 2 años hace | 0

Respondida
Function output does not get recocnized
When you click Start, this code runs: % Value changed function: StartButton function StartButtonValueChanged(app, event) ...

más de 2 años hace | 0

Respondida
DRAW LINES POINT TO POINT WHITH GINPUT
See attached demos.

más de 2 años hace | 0

Respondida
HOW CAN I DRAW POINTS WHIT GINPUT AND THEN JOIN THEM WITH A LINE
See attached demo.

más de 2 años hace | 0

Respondida
HOW CAN I CREATE REFERENCE AXES ON A 2D PLANE THAT ALLOWS ME TO DRAW AT THE INTERSECTIONS OF SUCH AXES?
Perhaps put the tick marks at the origin? ax = gca ax.XAxisLocation = 'origin'; ax.YAxisLocation = 'origin';

más de 2 años hace | 0

Respondida
how to export image classification results in excel sheet
Exactly what results do you want to export? Screenshot please. If you have it in a variable, you can use writetable or writece...

más de 2 años hace | 0

Respondida
Regionprops handling of big images
How big is your bs.data binary image? I would start by trying to delete any variables the in workspace that you don't need anym...

más de 2 años hace | 1

Respondida
I can't find the ranova function
You probably don't have a license for it because I see that function should be in that toolbox since 2014. What happens if you ...

más de 2 años hace | 1

| aceptada

Respondida
Create mesh from matrix
Not sure what you mean by "plot" but to view a and b as 2-D images and 2.5-D surface plots: subplot(2, 2, 1); imshow(a, []); ...

más de 2 años hace | 0

Respondida
How to plot a "Bean-shaped" object in MatLab please? (preferably a parametric equation)
Isn't this a duplicate of your question that I answered here: https://www.mathworks.com/matlabcentral/answers/2032129-how-to-cre...

más de 2 años hace | 0

Respondida
User input to repeat a script
Try questdlg while (1) % Put script code here. % Now ask use if they want to do it again. promptMessage = ...

más de 2 años hace | 0

Respondida
How to create this "bean shape" in MatLab please?
Try this: t = linspace(0, 2*pi, 1000); x = 3 + 2 * sin(t) + cos(2 * t); y = 4 * cos(t) - sin(2*t); plot(x, y, 'b-', 'LineWid...

más de 2 años hace | 1

| aceptada

Respondida
How can I identity clusters on my scatterplot?
It looks like you don't have clusters. And I doubt you used scatter() to plot those. It looks like you used plot() to plot 10 ...

más de 2 años hace | 0

| aceptada

Respondida
How can I transfer matlab to another user
We've done this several times. Contact your sales rep at the Mathworks. If you don't know who it is, just call the general num...

más de 2 años hace | 0

Respondida
Why is the line of y2 always a flat line at x-axis instead of a straight line with negative gradient?
It's flat because of hte scale of your y axis. Look -- it goes from -1 to 50 million, while y2 goes from 3 to -17. How do you ...

más de 2 años hace | 1

| aceptada

Respondida
How to convert a grayscale indexed image into a RGB indexed image ?
There is no such thing as an RGB indexed image. You can convert your indexed image into an RGB image with rgbImage = ind2rgb(i...

más de 2 años hace | 1

Respondida
how to extract missclassified pictures out of a file with a mixed dataset?
If, for your test set, you don't know the correct classification, and all you know is that the images you extracted into a diffe...

más de 2 años hace | 0

Respondida
Could a Phd uses a license Trial in a commercial company?
As I understand it, anyone can use MATLAB during their 30 day license trial. If they gave you a license, they want you to use i...

más de 2 años hace | 0

Respondida
Why do I keep getting an fopen error in my code? [absolute beginner]
This works fine: output_dir = pwd removed_ch = 9999; filename = 'test02.txt'; outputtextfile = fullfile(output_dir, filena...

más de 2 años hace | 0

Respondida
I am trying to run my code but it isn´t work. I don´t know what is wrong whit
It probably gets stuck in an infinite loop. Don't you understand that when you do this: n = 0; while n <=15 end n is less ...

más de 2 años hace | 0

Cargar más