Answered
How to build a circularly symmetric matrix from a vector
Depends on what exactly you're expecting. w = 20; % filter half-width % some arbitrary profile spread = logspace(0,-0.7,w...

3 månader ago | 0

Answered
Unable to perform assignment because the left and right sides have a different number of elements.
Your array indexes are backwards, so the RHS is zero-length g3_60(qq) = max(wspd3(sp:ep)) / max(wavg1(sp:ep)); I don't know wh...

3 månader ago | 0

| accepted

Answered
Delete plot from axes
If you have a handle to the plot object ph = plot(app.UIAxes_5,app.AxeX,app.AxeY,'MarkerSize', 20); then you should be able to...

3 månader ago | 0

Answered
How can I rearrange the RGB planes of an image in MATLAB 7.9 (R2009b)?
Why does this question exist for this specific version? Why does that answer exist? Did I miss something? So you want to perm...

3 månader ago | 0

Answered
Question for MAC and Linux users: get motherboard serial number
One option might be cat /sys/devices/virtual/dmi/id/board_{vendor,name,version,serial} though you would need root privilege to...

3 månader ago | 0

Answered
How to concatenate GRAYSCALE and RGB images?
Alternatively, you can expand the grayscale image. Assuming the images have compatible geometry, they can then be edge-concaten...

3 månader ago | 0

Answered
Combine images to create a composite without imfuse
Imfuse() is a simple visualization tool with limited flexibility. It's not a practical image compositing tool. For an image wi...

3 månader ago | 0

Answered
How to Create function to invert Image colors
If you can be certain of the class of incoming images, you simply subtract the image from the nominal white value associated wit...

3 månader ago | 0

Answered
how to creat a rectangular 100*100 in center of an image?
If you want to create a rectangular region of a fixed geometry: % get a grayscale image inpict = imread('cameraman.tif'); %...

3 månader ago | 0

Answered
Editing Images In Matlab
Addition is probably fine in this case, but it is my hobby to elaborate. I look at this problem as a simple image blending/comp...

3 månader ago | 0

Answered
i am getting this error
Two things: use elementwise multiplication between the sample and the filter kernel sum() normally only takes the sum over th...

3 månader ago | 0

Answered
Automatically crop an image
Depending on the requirements and what the other photos look like, this might be one way, or at least a start % this is an rgb ...

3 månader ago | 0

| accepted

Answered
Calculating distance in HSV color space
I think the simple answer is no ... but yes ... with a lingering quizzical look. HSV is not a color space. It's simply a map...

3 månader ago | 0

Answered
Variable z must be of size [41 41]. It is currently of size [2 2]. Check where the variable is assigned a value.
I don't know where you were getting that error or how it's related to the code you posted, since you didn't explain. I did find...

3 månader ago | 0

Answered
How to add text to an image
For passers-by: https://www.mathworks.com/matlabcentral/answers/101413-how-can-i-add-text-to-an-image-and-make-the-text-become-...

3 månader ago | 0

Answered
RGB to Grayscale without using rgb2gray
This answer covers conversions for both BT601 luma (what rgb2gray() and im2gray() use) and BT709 luma. This answer covers conve...

3 månader ago | 0

Answered
Convert an RGB image to grayscale but keep one color?
Refer to this answer for more details on how this can be done. While that link includes multiple methods, I'm going to use MIMT...

3 månader ago | 0

Answered
imshow() poor image quality
Two things: First, by default, imshow() uses nearest-neighbor interpolation for display. Things with fine features will be sub...

3 månader ago | 0

| accepted

Answered
How to make decreasing quadratic curve?
Are you after something like this? fs = 10200; % sampling frequency dt = 1/fs; T = 26; % total time rpm2 = 4500; f2 = rpm2...

3 månader ago | 0

| accepted

Answered
Why is this block of code giving me an "Undefined function for input arguments of type" error?
Sometimes it's the little things that get ya ... transf_repsonse_plotter()

3 månader ago | 0

| accepted

Answered
While doing image analysis, how can I auto detect which rows of pixels to analyze?
There's probably a bunch of different ways to approach this. If we can assume that the objects in the image are roughly grid-al...

3 månader ago | 0

| accepted

Answered
How to place pregenerated image (double) on top of an opened image with transparency?
If you're generating a ruler image each time and don't need to save a copy, then just don't save a copy. folderName2save=''; ...

3 månader ago | 0

Answered
How to create a random and smooth varying rpm profile?
Filter the rpm signal. Depending on what toolboxes you have, there are a lot of tools you could use. I'm just going to use a v...

3 månader ago | 0

| accepted

Answered
How to save data as binary Image in MATLAB
There's nothing to save but a black image, since the binarized image is always empty. I'm not sure what you're trying to do wit...

3 månader ago | 0

| accepted

Answered
error in imshow and alpha
I'm going to go out on a limb here and suggest that you likely have another function file called alpha.m somewhere on the path. ...

4 månader ago | 1

| accepted

Answered
How to recognize 6 colors of a face rubik's cube at the same time?
Let's start with an example that doesn't solve the problem. Herein, I extract the mean color in each block. Much of this examp...

4 månader ago | 0

Answered
Matrix dimensions must agree
I'm going to guess that this is what was intended wn = 196570; r = 6351.43; chi = 0:0.1:2; phim = 1; ke = 1.134; w = 1./(w...

4 månader ago | 0

Answered
How to determine the area of individual white picture elements?
You can use regionprops to find the areas of all objects in a binary image. The result is an area measured in pixels. To conve...

4 månader ago | 0

Answered
Drawing Multiple surf Plots with Different Color Map and Different Transparencies
Well, my network connection is super terrible, so I'm not going to be trying to download a bunch of stuff. As given, the probl...

4 månader ago | 1

| accepted

Answered
how to create gray scale gradient image?
Observe that the image profile is not piecewise-linear, but rather it's a cosine function. % observe that the profile is not PW...

4 månader ago | 0

Load more