photo

Gautam


Last seen: Today Active since 2024

Followers: 1   Following: 0

Statistics

  • 3 Month Streak
  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

Answered
What is the filter size of imgaborfilt()?
Hello @Iraklis S The size of the Gabor kernel is determined internally by MATLAB based on the specified wavelength. The kernel ...

1 month ago | 0

Answered
how to crop the image from the green screen
Hello @Nikhil Gulati You can crop out the green portion by thresholding or quantizing the image based on colours. Here's a cod...

1 month ago | 0

Answered
how to eliminate white pixels(smoke pixels) in the rgb image
Hello @senthil vadivu You can eliminate white pixels from an RGB image by identifying these pixels and then replacing them wit...

1 month ago | 0

Answered
segment a color image into regions based on intensity homogenity
Hello @TAUSEEF KHAN You can use K-Means clustering to segment you image img = imread('IMG_2505.jpg'); % Replace with your ima...

1 month ago | 0

Answered
i used marker controlled watershed segmentation algorithm to segment the image into diff colors.i want to count the no.of segments in the segmented image
Hello @madhuri kalapala To count the number of distinct colors in a segmented image after using the marker-controlled watershed...

1 month ago | 0

Answered
how to extract image boundary for a color image
Hi @alapati pujitha You can use the "edge" function with the "Canny" detect edges in the image Please refer to the code below ...

1 month ago | 0

Answered
How to convert 3D plot to 2D plot
Hello @OriAlpha, I assume that you wish to project your 3D plot on a 2D plane. You can follow the code below to project your ...

1 month ago | 0

Answered
Plotting a volume in 3D
Hello @Michael Ross To plot a solid volume defined by parameters t1, t2, t3, where each parameter has a defined range, you can ...

1 month ago | 0

Answered
Matlab Animation for 4d plots?
Hello @Anurag Chittanahalli Papegowda, One way to make animated plots by updaing the plot inside a loop: numTimePoints = 100; ...

1 month ago | 0

Answered
how to detect the haziness of the color image?
Hello @Packia Naveen, One of the simple ways to determine haziness of an image is to analyze the contrast and clarity of the im...

1 month ago | 0

Answered
how to find color corrologram of an image?
Hello @mano, The general approach for computing a corrologram of an image involves colour quantizing the image and computing th...

1 month ago | 0

Answered
4D plots in Matlab?
Hello Ali, If you want to represent the change in 3D position of a graphic over time, you can represent this using with an anim...

1 month ago | 0

Answered
Changing the color of image
Hello Eric, You can use the "winter" colormap to change the color of the image with a gradient of colours from green to blue. ...

1 month ago | 0

Answered
how to color code a vector field based on the vector direction?
Hello @Masih Jorat You can map the direction to colors using a colormap and use the direction cosines or angles to determine th...

1 month ago | 0

Answered
Plot vector field in Cylindrical
The conversion from Cartesian to cylindrical coordinates is given by: The unit vectors in cylindrical coordinates are related...

1 month ago | 0

Answered
I want to plot the half only in the attached figure. How can I do that?
Hello @Shreen El-Sapa You can make the following changes to the contour plot to plot only the top half p1=contour(x,y,psi1,[0....

1 month ago | 1

Answered
How can I appear the streamline around the spheres?
Hello Shreen, You can plot the streamlines by using a series of “contour” functions the way you've been attempting to. hold o...

1 month ago | 1

Answered
Rotation of a 3D vector field around axis
Hello @AC95, I was able to rotate the vector field about the y-axis using a rotation matrix Here's the code uses a rotation m...

1 month ago | 0

Answered
Matrix dimensions must agree
Hello Meaghan, The reason you get this error is because you cannot divide two matrices the way you divide two scalars. To f...

1 month ago | 0

Answered
How can I change vector colors in quiver plots and add color bar based on vector magnitudes and custom magnitudes assigned to each vector?
Hello Nafiz The “quiver” function in MATLAB does not natively support color coding based on vector magnitude. However, you can ...

1 month ago | 0

| accepted

Answered
how to get a plot quiver with velocity magnitude
Hello bharathi The “quiver” function in MATLAB does not natively support color coding based on vector magnitude. However, you c...

1 month ago | 0

Answered
How can I plot a velocity field plot with color code?
Hello Emre The “quiver” function in MATLAB does not natively support color coding based on vector magnitude. However, you can ...

1 month ago | 0

Answered
What is the matlab code for spherical indicratix?
Hello Khadak, To create a spherical indicatrix, you can follow the code below t = linspace(0, 2*pi, 1000); a = 1; x = ...

1 month ago | 0

Answered
having legend title and enlarging legend marker size at the same time
Hello @CS It is a known problem that a title to a legend cannot be added when calling the "legend" function with multiple outpu...

1 month ago | 0

Answered
Why does the same View property for Axes with different PlotBoxAspectRatio result in different views?
Hi Aaron, The behaviour arises because of the "axis equal" command. When you use the "axis equal" command, it adjusts the plot ...

2 months ago | 0

| accepted

Answered
conformal mapping of circle
To transform a circle using conformal mapping, you can directly apply the transformation to the equation of the circle. Here’...

2 months ago | 0

Answered
Alternative to scatter3 plot
I am assuming the data you have, i.e. X, Y and Z are vectors. In this case, you can use the “scatter3” function without the loop...

2 months ago | 0

Answered
How to plot the electric field using when the desired signal is small and there are many data points
Assuming that you want to plot the magnitude of the z component of the electric field in a 2D space specified by the variables “...

2 months ago | 0

Answered
Suggestions for a more efficient way of writing this code
Hello Grey, Assuming that you want to maintain the variable names as you have specified, since you are retrieving the data fr...

2 months ago | 0

Answered
How to detect Black object centers in binary image without inverse it using connected component label
Hello Bharat, You can use connected components without inverting the image by just inverting the logic of the image while pass...

2 months ago | 0

Load more