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

6 months ago | 0

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

6 months ago | 0

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

6 months ago | 0

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

6 months ago | 0

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

6 months ago | 0

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

6 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

Answered
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"...

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

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

10 months ago | 0

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

10 months ago | 0

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

10 months ago | 0

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

10 months ago | 0

Answered
Multiple Trace Gas Input into a stream
Hi, It seems you want to use multiple trace gas inputs into a stream. You can try passing the trace gas inputs via the Simuli...

10 months ago | 0

Answered
Time averaged wavelet spectral density in magnitude^2/Hz
Hi, It seems like you are trying to convert the scales to frequencies when dealing with global wavelet spectral density. You ...

10 months ago | 0

Answered
assemble global stiffness matrix with varying young's modulus
Hi, It seems like you are trying to assemble the stiffness matrix "kk" for a two-element beam system with varying elastic modul...

10 months ago | 0

| accepted

Answered
numerical derivative in matlab
Hi Christoppe, I understand that you want to show the numerical value of the first derivative of a function in the given code....

11 months ago | 0

Answered
Lorenz equation using Leapfrog method
Hi Sagi, I understand that you want to write a code for the Lorenz system using the leapfrog method. The Lorenz system can b...

11 months ago | 0

Answered
Empirical ber must be a real vector between 0 and 1
Hi Sowmika, I understand that you want to resolve the error stating “EMPBer must be a real vector between 0 and 1”. First st...

11 months ago | 0

Load more