已回答
Could anyone help me how to find the correlation between the time series data
Hi, You can make use of the "corr" function to get a linear correlation coefficient between the data. You can extract the time ...

8 months 前 | 0

已回答
Help me to draw a pie chart with separate pieces
Hi, You can pass an array to the "pie" function, where each element corresponds to the pie chart pieces. A value of 1 would mea...

9 months 前 | 0

已回答
how can I detect and fill gapes in data
Hi, You can fill in the missing data by using the "fillmissing" function with the 'linear' method to interpolate missing values...

9 months 前 | 0

已回答
How to set specific colors in margin of errorbars line?
Hi, You can achieve a red line with a black margin effect by plotting the error bars and the main line separately and then cus...

9 months 前 | 0

已回答
Excluding data not of a classes from a KNN classifier
Hi, To detect data that is too dissimilar from any of the trained classes in your KNN classifier, you can compute the distances...

9 months 前 | 0

已回答
How to merge local maxima based on distance apart
Hi, To merge local maxima that are less than a certain distance apart in an image, you can use the "pdist" function to compute ...

9 months 前 | 0

已回答
How to insert dash-line in a matlab figure?
Hi, To add a horizontal dash line in a figure, you can use the "yline" function. This function will help you in drawing horizon...

9 months 前 | 0

已回答
Find the linear Equation at different conditions - Machine Learning
Hi, To generate a linear equation for a specific flow rate using the given data table, you can interpolate between the known fl...

10 months 前 | 0

已回答
How to calculate the volume of object that has several 2D profiles (slices)
Hi, Assuming that the slices are equally spaced and represent cross-sections of the object, you can approximate the volume by s...

10 months 前 | 0

已回答
how to add multiple functions in a single Simulink MATLAB function file?
Hi, You can make use of the MATLAB function block in Simulink. Refer to the below steps for a better understanding: Create a b...

10 months 前 | 0

已回答
How to draw phase space of two ODEs
Hi, To recreate the phase space for the system described in the above equations, you can use the "ode45" function. This will he...

10 months 前 | 0

已回答
Save animation from PDE modeler
Hi, As a work around to save animation from the PDE modeler, you can capture frames during the simulation and then write them i...

10 months 前 | 0

已回答
Real time data acquisition
Hi, To provide MATLAB script real-time data, you can use the "serialport" function to create a connection to the serial device....

10 months 前 | 0

已回答
How to get nonlinear function using bode plots data (gain vs. freq and phase vs. freq)
Hi, In order to find the non-linear expression that describes the behaviour of the given system, I have made use of curve fitti...

11 months 前 | 0

已回答
How to generate M sets of a time serie?
Hi, To simulate data for (M=5000) sets of time series based on the given equation, follow the steps below. In the example given...

11 months 前 | 0

已回答
Can I set the maximum displacement for opticalflow?
Hi, You can follow the below steps as a workaround to set the maximum displacement for the optical flow: Find the horizontal a...

11 months 前 | 0

已回答
How to use events in fminsearch
Hi, One workaround you can try to integrate the use of an event function within "fminsearch" while solving an ODE using "ode45"...

11 months 前 | 0

已回答
How do I plot the Hamiltonian (phase plot) of a 2d system
Hi, It seems you want to plot 2D arrays, where (p) and (q) are both two-dimensional arrays of size (2, N), implying you have tw...

11 months 前 | 0

已回答
What does the space on the resultant graph mean?
Hi, As per my understanding, if I consider the "space" axis to be the dimension of the plate, then it represents your plate le...

11 months 前 | 0

已回答
How to reduce features using PCA and get good result on Pattern recognition ?
Hi, It seems that you are having trouble applying for PCA in your current implementation. You can follow the below steps: Scal...

11 months 前 | 0

已回答
Newton Raphson method for system of nonlinear equations
Hi, It seems that your output tolerance is not under the specified "tolX". To improve this, you can use a "norm" (like the Euc...

12 months 前 | 0

已回答
Creating a profile using a mathematical function f(x,y)
Hi, As per my understanding, you can create a specific profile of pressure and flow using the "MATLAB Function" block in Simuli...

12 months 前 | 0

已回答
How con I regularize a partial correlation network graph with LASSO?
Hi, You can make use of the "lasso" function as a workaround. The "lasso" function is used for the linear models; for editing g...

12 months 前 | 0

已回答
Size of Checkerboard Target in camera image
Hi, It seems you are a bit confused about how the size of the checkerboard in the image affects the end result. Checkerboard si...

1 year 前 | 0

已回答
Does someone have tips on how to improve chessboard recognition in the camera calibration?
Hi, As per my understanding, you are facing an issue in detecting the checker pattern of a chessboard for the camera calibratio...

1 year 前 | 0

已回答
Generate magnitude and phase spectra of the modulated and demodulated signal using power spectral density using MATLAB.
Hi, It seems you want to generate magnitude and phase spectra of the modulated and demodulated signal using power spectral den...

1 year 前 | 0

已回答
ELECTROMECHANICAL EFFECT OF PIEZOELECTRIC CANTILEVER BEAM
Hi, It seems you are trying to study the electromechanical effect on a piezoelectric cantilever beam by plotting a graph such a...

1 year 前 | 0

已回答
Temperature compensation for Electro-chemical Air Sensors
Hi, It seems you are trying to compare the output value from the sensor against reference data, observing both the temperature ...

1 year 前 | 0

已回答
how i can to create plastic collsion
Hi, It seems you are trying to make changes in the given code to simulate a plastic collision and add an option to give a solut...

1 year 前 | 0

已回答
how to draw gaussian curve
Hi, It seems you are trying to make use of FULL WIDTH AND HALF MAXIMUM (FWHM) and wavelength values to obtain a Gaussian curve....

1 year 前 | 0

加载更多