已回答
overlay 2 histograms one over the other
Hi @sani, To present the sets one over the other as they are in real datasets, the bin edges need to be aligned. So, we can us...

5 months 前 | 0

已回答
Frequency plot for extreme value analysis
Hi @Ali Saremi, To create the frequency plot, we can start by using `readtable` to read the CSV file as follows: data = read...

5 months 前 | 0

已回答
Looping through array to assign values to titles
Hi @Bas Bloemendaal, To plot lines for each value in the‘lateral’array corresponding to each value of‘U_det’, you should exec...

5 months 前 | 0

已回答
Change dimension of matrices in a cell variable
Hi @JINGYU KANG, To convert an existing ‘a x b x c’ cell array containing ‘dx1’ matrices into an ’a x d’ cell array, you can f...

5 months 前 | 0

已回答
How to count pixels overlapping between two images?
Hi @Cathy Marlair, Firstly, we can read the images using the `imread` function as shown below: image1 = imread(image1.png');...

5 months 前 | 0

已回答
plot and illustrate the intersection
Hi @Nguyen Huy Hoang, To plot the surface “z = x^2 - 2y^2”, the surf command can be utilized as follows: surf(x, y, z, 'Edg...

5 months 前 | 0

已回答
3D Histogram of a true color (RGB) image
Hi @Abdul Gaffar, To plot a 3D histogram of a true colour image, try the following steps: 1. Convert it to a grayscale image...

6 months 前 | 0

已回答
Provide a row vector as legend
Hi @Pedro Oliveira, To assign the values of a row vector as a legend, each element must be converted into a string. This can b...

6 months 前 | 0

已回答
Trying to only fill certain contours in a contour3 plot
Hi @Nicholas Backhouse, To fill a specific colour between only two contours while leaving the others unfilled, specific contou...

6 months 前 | 0

已回答
cannot save figure from simulink
Hi @praween bhengra, To save a plot generated using the ‘Scope’ block in a Simulink model, certain properties of the Scope blo...

6 months 前 | 0

已回答
heatmap cannot have Axes or uiaxes as parent
Hi @Alexandru Bitca, As per the documentation, it is not possible to place a heatmap inside a UIAxes.However, a similar workflo...

6 months 前 | 0

已回答
Is there a way to write legends in small caps?
Hi @sudip poudel, To display legends in small caps within MATLAB figure, try the following workaround: Use the “upper” functi...

6 months 前 | 0

已回答
multiple plots with same variable but different value
Hi @EIMAN HAZIQ, To plot multiple graphs of the same variable, which contains different values according to the equation: T(...

6 months 前 | 0

已回答
show regular intervals in the colourbar
Hi @Francesco Marchione, To calculate a fixed number of evenly distributed values between the minimum and maximum, including t...

6 months 前 | 0

已回答
plot range of freq on unit circle
Hi @uzmeed, To plot frequencies ranging from 10 kHz to 1 MHz on a unit circle, we can follow the below approach. Assuming the t...

6 months 前 | 0

已回答
plot the graph of mulivariable
Hi @shiv gaur, Upon reviewing your code, I noticed that the expression for p should be written as p = (dy ./ dx) ./ (dy ./ d...

6 months 前 | 0

已回答
Covert surf 3D image to 2D matrix
Hi @Haomin Wang, To save an image into a new 2D projection, the “saveas” function can be used. Additionally, to extract z-value...

7 months 前 | 0

已回答
PLEASE HELP!! Matlab AppDesigner Putting a certain number of panels
Hi @hgrlk & @Georgiana Cristea, Assuming that the desired output should have the panels stacked on top of each other, you can ...

7 months 前 | 0

已回答
Add plot to an existing surface
Hi @Giuseppe Giaquinta, To add a 3D line to a plot that features a surface generated using the Curve Fitting Tool in MATLAB, t...

7 months 前 | 0

| 已接受

已回答
how to find the location of optical flow (head) vector?
Hi @zunash ahmad, To determine the location of an optical flow vector, you can calculate the optical flow between two consecut...

7 months 前 | 0

已回答
How to solve boundary value problem using shooting method (ode45)?
Hi @Rajesh, I've observed that the line responsible for checking the right endpoint boundary condition might not be implemente...

7 months 前 | 0

已回答
ANOVA of a cell array
Hi @car, To perform a one-way ANOVA on all the data contained within the cells of a cell array and obtain a single output that ...

7 months 前 | 0

已回答
How to compute displacement vector field?
Hi @zafar iqbal, To compute the displacement vector field (DVF) for image registration in MATLAB, you can use the Image Proces...

7 months 前 | 0

已回答
Changing the Number of Rows in imported Table via Edit-Field in App Designer
Hi @William Collants, To make the Numeric Edit Field interactive, we need to add a callback function. The desired functionalit...

7 months 前 | 0

已回答
How to plot an integral function(x) with limits as 10 and x.
Hi @Mohammad Kaif, Upon reviewing the code, I identified the issue: one of the limits of the “integral” function is being passe...

7 months 前 | 0

已回答
How to increase margin when export graphics-Illegal option 'padding' given
Hi @Huei-Ting, The “Padding” attribute of the “exportgraphics” function is supported in MATLAB Online R2024a and onwards. It i...

7 months 前 | 1

已回答
Histogram inside a plot.
Hi @Priya, The “position” property of the “axes” function determines the position with respect to the bottom-left corner of th...

7 months 前 | 0

已回答
Plot two points on single x value
Hi @Jihun Gil, To plot a scatter graph for data where there might be multiple y-values corresponding to a single x-value, the ...

7 months 前 | 0

已回答
eigenvalues for matrix contents of terms
Hi @Zaynab Ayham, To create a matrix of variables like x, y and z, the “syms” function can be used. It is utilized to create s...

7 months 前 | 0

加载更多