Respondida
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....

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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 ...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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])

alrededor de 4 años hace | 1

Respondida
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...

alrededor de 4 años hace | 1

| aceptada

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

| aceptada

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

| aceptada

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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. ...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 2

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 1

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 1

Respondida
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...

alrededor de 4 años hace | 0

| aceptada

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

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 2

| aceptada

Respondida
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...

alrededor de 4 años hace | 1

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

alrededor de 4 años hace | 0

Respondida
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.

alrededor de 4 años hace | 0

Respondida
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 ...

alrededor de 4 años hace | 1

| aceptada

Respondida
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...

alrededor de 4 años hace | 0

| aceptada

Cargar más