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

1 year 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’...

1 year 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...

1 year 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 “...

1 year 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...

1 year 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...

1 year ago | 0

Answered
In 'wblplot' command how to alter legend?
To display only certain lines on the plot you can pass in the handles to the line objects as a parameter to the “legend” functio...

1 year ago | 0

Answered
How to change y axis units from decimal to % in probability plots (function: probplot) or Weibull plots (function: wblplot)?
To display the y axis labels as percentages for “probplot” or “wbplot”, you can modify the y-axis tick labels using MATLAB's axi...

1 year ago | 1

Answered
How does matlab compute the contours of gaussian, student's t or clayton copulas?
Hi Juan, MATLAB computes the contours of a probability distribution like a bivariate gaussian distribution by evaluating the p...

1 year ago | 0

Answered
How to plot contour for gaussian copula (etc.)
You can use the “copulapdf” function to plot a bivariate gaussian copula pdf and then use the “contour” on these pdf values func...

1 year ago | 0

Answered
How to give Gray color histogram gray shade instead of blue
Hello Sadika, I assume that you want to change the colour of the histogram to grey just like the way you have changed to gr...

1 year ago | 0

Answered
Change Figure Bottom Margin
Hello Peter, One easy way to extend the bottom margin of the figure without resizing the subplots is by adding another row ...

1 year ago | 0

Answered
how to move text away from axis?
Hello Minka, I understand that you have the “ylabel” overlapping with the y-axis of your plot and that you want to increase...

1 year ago | 0

Answered
Plot different features with Graph
Hello Selina, You can make the plot as shown in the reference image you shared by using the “scatter” and “tiledlayout” func...

1 year ago | 0

Answered
how to construct a circulant graph ?
Hello Anelmad, You can plot a circulant graph by creating an adjacency matrix to mention the nodes and connections between the...

1 year ago | 0

Answered
How to make spaces between graphs in a subplot
Hello Linden, I understand that you want to adjust the spacing between the individual graphs of a subplot. You can achieve this...

1 year ago | 0

Answered
How to generate FMCW pattern
Hello Allen, Please refer to the following documentation decribes how you can generate a FMCW pattern in detail https://www.ma...

1 year ago | 0

Answered
Jpeg to 3D surface
Hello Pete, It is difficult to reproduce the problem and address the specific issue in the absence of the data you’re using. H...

1 year ago | 0

Answered
How can I draw "Omnidirectional Antenna Diagram" like this image?
Hello Furkan, You can plot omnidirectional antenna patterns using MATLAB’s “pattern” function. You would need the Antenna Tool...

1 year ago | 0

Answered
Global ylabel and colorbar in tiledlayout environment
Hello Richard, I understand that you want the title to the left of your plot to have higher separation from the `y` ticks and ...

1 year ago | 0

Answered
how to create a steering vector of desired beamwidth for beamforming using ULA
Hello Afifa, You can use the “phased.SteeringVector” method of the Phased Array System Toolbox to create a steering vector for...

1 year ago | 0

Answered
Integration with tobii pro lab
Hi Neha, I found this document on Tobii website that might help you integrate your device with MATLAB and should ensure that yo...

1 year ago | 0

Answered
plotting a straight line with slope and a single point
Hello Eddy, I understand that you are expecting a linear plot as the outcome of your graphing. The reason you don’t get a line...

1 year ago | 0

Answered
Effect size, statistical power of the test, and confidence interval (of hypothesis testing)
Hello Sim, The functions “meanEffectSize”  can be used for the non-parametric tests that you’ve mentioned. By default, the ...

1 year ago | 1

Answered
Plot sphere region by given binary map.
Hello Sareal I understand that you want to project the white area of the binary image on a sphere. The reason you get the sphe...

1 year ago | 1

Answered
After variational model decomposition "vmd" of my time series data , I'd like to convert each of the subcomponent IMFs to 2Dimages , how am i supposed to that ?
Hello Muskaan I understand that you have 5 IMFs that are 1D signals produced as a result of applying Variational Mode Decomposi...

1 year ago | 0

Answered
Inner product calculation using discretised Chebyshev points and a energy matrix
Hello, Isabelle I understand that you want to generate the matrix “A”, which is obtained by The attached piece of code impl...

1 year ago | 1

Load more