Réponse apportée
extracting mean pixel value from an image
It seems to work for me. The figure in which the ROI object is created needs to be present and needs to contain only one image....

presque 4 ans il y a | 0

Réponse apportée
How do I superimpose images using imfuse() while keeping colors?
The short answer is very simple. Don't use imfuse() for image composition. Imfuse() is a tool for visually comparing two image...

presque 4 ans il y a | 0

Réponse apportée
Why is the waveform of torque for single phase induction motor sinusoidal in Simulink?
It's been years since I had to think about this, but off the top of my head, that seems correct. The stator in a three-phase in...

presque 4 ans il y a | 0

Réponse apportée
Problem in getting proper output image format
The output of rgb2lab() is already of class double(). L is in the range of 0-100. Rescaling L to [0 255] and casting to uint8 ...

presque 4 ans il y a | 0

Réponse apportée
How to output the Cascading image
Depends what you want to do with it. With a function name like op(), it's impossible to tell. If your goal is to just visual...

presque 4 ans il y a | 0

Réponse apportée
extracting mean pixel value from an image
I was assuming that the green marks weren't going to be the ROI delimiters anymore, but if they still are, you can't use image g...

presque 4 ans il y a | 0

Réponse apportée
i need to combined several blocks to one image
I suppose if I'm going to clean up the duplicate of this question, I should be willing to answer it to some degree. While there...

presque 4 ans il y a | 0

Réponse apportée
Growing eye matrix as per the size of eye
There are a number of ways, but this is what I'd do: A = toeplitz([1 0 0 1 0 0 1 0 0],[1 0 0 0 0 0 0 0 0])

presque 4 ans il y a | 1

Réponse apportée
How to create a crumpled (wrinkled) paper effect on an image?
The answer is fairly simple, but it depends what you expect. The basic concept isn't a MATLAB problem at all. Solving the prob...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
Dumb mistakes we make with MATLAB.
I spent a moment today trying to figure out why outarray = logical(size(inarray)); % preallocate didn't create a logical array...

environ 4 ans il y a | 0

Réponse apportée
Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 0-by-0
RadiusFunc (and possibly LengthFunc) is an empty array. You'll have to find out which ones are empty and why they're empty, bec...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Filtering with regionprops and ismember
I cropped the image out of your screenshot, so the sizes are probably wrong, but this is just an example in concept. You appear...

environ 4 ans il y a | 0

Réponse apportée
greek words in axis labels
Forgive the blind translation attempt, but wouldn't something like this work? hungerpct = 1:100; bph = (1:100).'.*[2 3] + [0...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Colormap- specific values for each heatmap value
You might try something like this: % some fake data z = 0.2*rand(10); % define parameters of new CT ctlength = 256; cbrea...

environ 4 ans il y a | 0

Réponse apportée
Checking given point in circle
Depending on the context, there are probably more purpose-built tools, but you can do it in a very basic manner just the same. ...

environ 4 ans il y a | 0

Réponse apportée
string for x label in a plot
You can make the tick labels whatever you want. They don't have to be a literal label of the tick locations. x = 1:10; y = si...

environ 4 ans il y a | 2

Réponse apportée
How can I move a binary image to the center?
Without knowing how the object images were obtained, it's hard to say how to change the process. You should have the bounding b...

environ 4 ans il y a | 0

Réponse apportée
How to create picture effects in MATLAB?
Steve's blog has some ideas for thinking outside the box with basic MATLAB/IPT tools, but for the most part there aren't first-p...

environ 4 ans il y a | 1

Réponse apportée
Overlay graph with latest input
If by "latest input", you mean the text object, you can use text(). https://www.mathworks.com/help/matlab/ref/text.html http...

environ 4 ans il y a | 0

Réponse apportée
How do I split a string using a only *single* whitespace delimiter so any multiple whitespaces are also "split"?
I'm totally not the one to ask for elegant regex, but there are always workarounds. thischar = 'Time Aero Inertial To...

environ 4 ans il y a | 1

Réponse apportée
plot earth shadow(lighting?)
You can do a couple things. You can adjust the material properties to increase contrast (reduce ka, boost kd). See this docume...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
difference of SSIM and multissim?
The documentation describes the differences: https://www.mathworks.com/help/images/ref/ssim.html https://www.mathworks.com/hel...

environ 4 ans il y a | 0

Réponse apportée
Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parenthe
I don't see anything that would cause that error, but there are other errors. clc; clf fstr = 'sin(x)'; %input('Fonksiyon de...

environ 4 ans il y a | 0

Réponse apportée
Unevenly Map Data to an RGB Map?
If you want to take your colormap and shift it toward one end or the other for some reason, you might be able to do something li...

environ 4 ans il y a | 0

Réponse apportée
Is it possible to go through the elements of an array without resorting to length in a for loop?
You could do something like this a = [1 2; 3 4]; for k = a(:).' % reshape a into a row vector if k>2 fprintf('%d...

environ 4 ans il y a | 2

| A accepté

Réponse apportée
How to order colors (RGB) in my own colorbar?
I think this is an interesting question. Being "interesting" doesn't mean that it's a problem with a unique solution though. A...

environ 4 ans il y a | 1

Réponse apportée
Writing RMSE fomula in Matlab
Assuming that the inputs are of comparable scale and of floating-point class: rmse = sqrt(mean((A(:)-B(:)).^2))

environ 4 ans il y a | 0

Réponse apportée
Line Plot with Highest value in the middle
You mean y = [0, 5, 0]; plot(y) If you mean something else, you'll have to elaborate.

environ 4 ans il y a | 0

Réponse apportée
Locate and extract values from one array to another
Use ismember() or (more likely) ismembertol(). Without knowing what the data and references look like, I'll have to leave that ...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
How can I create a binary mask?
Without having clear technical goals, I'm just going to assume that no technical requirements exist for shape or density. I'm g...

environ 4 ans il y a | 0

| A accepté

Charger plus