Answered

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

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

Answered

Quadratic extrapolation on a dataset

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

Quadratic extrapolation on a dataset

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

22 jours ago | 0

Answered

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

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

Answered

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(:...

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

Answered

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

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

Answered

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

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

Answered

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

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

Answered

How to apply butterworth filter to data in cells? filter went wrong

@Tomaszzz, You're welcome. Good lcuk with your research.

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

Answered

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

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

Answered

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

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

Answered

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

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

Answered

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

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

Answered

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

@muhammad choudhry, I assume your desired output has N rows by 182 columns, where N=floor(1639/7)=234. num=xlsread('Required_A...

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

@muhammad choudhry, I assume your desired output has N rows by 182 columns, where N=floor(1639/7)=234. num=xlsread('Required_A...

environ un mois ago | 1

| accepted

Answered

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

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

Answered

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

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

Answered

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

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

Answered

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

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

Answered

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

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

Answered

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

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

Answered

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

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

Answered

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

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

Answered

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

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

Answered

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

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

Answered

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

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

Answered

How to plot 3D using a table

@Mad Gano, Please sypply your data as a mat file or text file instead of an image. Thank you. I do not understand your goal. ...

How to plot 3D using a table

@Mad Gano, Please sypply your data as a mat file or text file instead of an image. Thank you. I do not understand your goal. ...

environ 2 mois ago | 0

| accepted

Answered

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

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

Answered

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

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

Answered

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

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

Answered

how to create rotate function ?

@riki singh, Matlab rotate() command rotates a 3D graphics object by a specified angle about a specified axis.

how to create rotate function ?

@riki singh, Matlab rotate() command rotates a 3D graphics object by a specified angle about a specified axis.

environ 2 mois ago | 0

Answered

How can I overlay vector arrows to an image of a 2D matrix?

@Shai Katz, the quiver command automatically scales the lengths of the arrows so that they do not overlap. Therefore you do not...

How can I overlay vector arrows to an image of a 2D matrix?

@Shai Katz, the quiver command automatically scales the lengths of the arrows so that they do not overlap. Therefore you do not...

environ 2 mois ago | 0