Periodic input to ODE solver
@Eric Scott, Create a smooth pulsatile input signal with a specified non-zero duration. Add it to your ODE. For example, consi...

15 jours ago | 0

| accepted

@Aristo, Yes it is possible. Three points define a quadratic equation. The quadratic equation that passes through (x1,y1), (x...

22 jours ago | 0

Find out whether a 2D line (y = a*x + b) intersects with a square without using "solve" (I need something faster)
@Perico Nasdemico, If the slope, a, is positive, then, if there is an intersection, the line passes below or through the upper ...

22 jours ago | 1

How can I plot x and y RGB values of an image to analyze?
@omar soufan, Try the following: im1=imread('knifetest1.jpg'); zr=im1(:,:,1); %get the red intensity array zg=im1(:...

22 jours ago | 0

| accepted

How to plot desired datapoints on a curve?
@ekagra gupta, You must have a vector that (58 x 1), which accompanies yhat (58 x 1). Let us create vectors to use as examples...

22 jours ago | 0

How to use locminima in a signal with nan values?
@Tomaszzz, Here is the script I usd to make the figure I showed in my comment. It makes two plots, samples of which are below. ...

28 jours ago | 1

| accepted

With PCA, how much of the photo did i compress?
@ali yaman, The attached script applies PCA image compression to image ben.jpg. It reconstructs the image with 10 principal com...

29 jours ago | 1

How to apply butterworth filter to data in cells? filter went wrong
@Tomaszzz, You're welcome. Good lcuk with your research.

29 jours ago | 0

With PCA, how much of the photo did i compress?
@ali yaman, The percent compression is (Au-Ac)/Au, where Au= the amount of information needed to generate the uncompressed imag...

environ un mois ago | 0

| accepted

How do I translate a variable into HSV color values?
@Shovnik Paul, Vmax=5; while true voltage = a.readVoltage('A0'); color = hsv2rgb(voltage/Vmax,1,1); fill([0 1 1...

environ un mois ago | 1

| accepted

How to apply butterworth filter to data in cells? filter went wrong
@Tomaszzz, This appears to be a record of vertical ground reaction force for 7 steps on an instrumented treadmill, from a subje...

environ un mois ago | 1

| accepted

Linear best fit model
@Aniruddha Das Here is an example in which the fixed slope is 1.3 and the best fit slope is approximately 1.0. x=0:1:100; N=l...

environ un mois ago | 0

Only required the mean value out rather then every single value in a data

environ un mois ago | 1

| accepted

Markov chain modeling of multipath propagation
@demos serghiou, I recommend reading papers on the use and estimation of Markov models for multipath propagation. When you hav...

environ un mois ago | 1

Trying to access individual columns in a map container that has 41 markers, each with an XYZ point.
@maura belcher, I have never heard of or worked with map containers, but I can see they could be useful in this situaiton if we...

environ un mois ago | 1

| accepted

How can I get the FFT of a flat signal with a peak?
@Leonardo Molino, You are correct to have doubts about the interpretation of the FFT of dE(t), given that dE(t) is computed the...

environ un mois ago | 1

| accepted

Sigmoid function shaping and fitting by curve-fitting toolbox
@Batuhan, A fairly general sigmoid curve can be expressed with four parameters: ymin, ymax, x0, and slope (dy/dx) at x0. The w...

environ un mois ago | 1

| accepted

It is possible to know how meshgrid organize the points?
@Bárbara Matos, I think the following code illustrates how the points returned by sphere() are arranged. See comments below. [...

environ 2 mois ago | 0

| accepted

ODE45: Solving a system of ODEs, except one of the equations changes based on certain parameters. How can I code this?
@Josh Ciesar, Is pressure, p, a state variable, given by a first order differential equation, or is it an instantaneous function...

environ 2 mois ago | 1

Curve Fitting Toolbox Fourier Coefficient 9+?
@Isaias Trevino, The Fourier decomposition of a signal is orthogonal. That means that the best fit coefficients at the differen...

environ 2 mois ago | 0

How can I plot a 2d teardrop shape? I need a figure like the attached image but couldn't figure it out.
@Elif Sensoy, an equation for a plot like yours is where , and n is the number of teardrops, and is a phase angle that allow...

environ 2 mois ago | 0

Fixing a choppy plot
@Joshua Leiter, The plot order on the line to plot the green marker was wrong. Fixed. Fill in the marker with MarkerFaceColor...

environ 2 mois ago | 0

How to find uncertainties in Intercept and Slope of a fitted line
@Dinithi Siriwardana Pathiranage, The uncertainties in the fitted parameters are available in the model structure which is cre...

environ 2 mois ago | 0

| accepted

Make a semi sphere and identify the co-ordinates as the shown picture
@Anonyms, YOu make a 21x21 array, i.e. 441 elements. I only see 20 points shown on the diagram, so three vectors of length 20 ...

environ 2 mois ago | 0

How to plot 3D using a table

environ 2 mois ago | 0

| accepted

How to get centre frequency of a pulse
@David Harra, Please share th Matlab code you used to generate the simulated signal, and share the formulas you have seen. Yo...

environ 2 mois ago | 0

| accepted

Rigid body motion for overdetermined translational data
@Rolfe, In a movement analysis lab, one sometimes puts four or more markers on a body segment and tracks the markers with motio...

environ 2 mois ago | 0

3D plotting of known data
@Bill Murray, Generate sample data: ten sinusoidal voltage records, with random variation in amplitude and frequency: t=0:.5:2...

environ 2 mois ago | 0

| accepted