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

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

29 jours 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 un 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 un 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 un 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 un 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 un 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 un 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 un 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 un 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 un 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 un 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 un 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 un 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

Answered

How do I calculate the volume between two 3D-surfaces?

@Birgit, See attached script. It approximates the volume between the surfaces. I notice that the x-coordinates of the points ...

How do I calculate the volume between two 3D-surfaces?

@Birgit, See attached script. It approximates the volume between the surfaces. I notice that the x-coordinates of the points ...

environ 2 mois ago | 0

Answered

How to use use an anonymous function to fit data based on the fittype and fit functions.

@payam samadi, I think the manual page examples for this are pretty good. a=1; b=2; c=-1; d=-2; e=3; xdata=-3:.03:3; %ydata=...

How to use use an anonymous function to fit data based on the fittype and fit functions.

@payam samadi, I think the manual page examples for this are pretty good. a=1; b=2; c=-1; d=-2; e=3; xdata=-3:.03:3; %ydata=...

environ 2 mois ago | 0

| accepted

Answered

How do I plotting a 3 column matrix

@Carl Marnewick, Yes it is possible. Search the Matlab file exchange for "ternary plot". You will get multiple hits, such as ...

How do I plotting a 3 column matrix

@Carl Marnewick, Yes it is possible. Search the Matlab file exchange for "ternary plot". You will get multiple hits, such as ...

environ 2 mois ago | 1

| accepted

Answered

Plot last point of column

@Ruben Garcia Paba, Your script has an error at line plot(Time, ( x ((i-1)*tl+1:(i-1)*tl+tl,1)), '', 'LineWidth',1.0) becaus...

Plot last point of column

@Ruben Garcia Paba, Your script has an error at line plot(Time, ( x ((i-1)*tl+1:(i-1)*tl+tl,1)), '', 'LineWidth',1.0) becaus...

environ 2 mois ago | 0

Answered

Isosurface plots appear 2d when used with subplot

@Irem Altan, I find that if I click twice on the 3D rotate icon above each plot, I am able to rotate thenm. Here is a screensho...

Isosurface plots appear 2d when used with subplot

@Irem Altan, I find that if I click twice on the 3D rotate icon above each plot, I am able to rotate thenm. Here is a screensho...

environ 2 mois ago | 0

Answered

The Normal Equation and QR My Solutions

@Doga Ersuz, It looks like your professor has provided a partial script in which you must fill in the right hand side on lines 6...

The Normal Equation and QR My Solutions

@Doga Ersuz, It looks like your professor has provided a partial script in which you must fill in the right hand side on lines 6...

environ 2 mois ago | 0

Answered

What is the difference between backward slash vs forward slash in MATLAB?

@Jamie Al, X=A\B computes X=inv(A)*B. Y=A/B computes Y=A*inv(B) A=rand(2,2); B=rand(2,2); X1=A\B X2=inv(A)*B Y1=A/B Y2=A...

What is the difference between backward slash vs forward slash in MATLAB?

@Jamie Al, X=A\B computes X=inv(A)*B. Y=A/B computes Y=A*inv(B) A=rand(2,2); B=rand(2,2); X1=A\B X2=inv(A)*B Y1=A/B Y2=A...

environ 2 mois ago | 0

| accepted

Answered

how can integrate black body spectrum in frequency with lowest limit has energy as 13.6 eV in matlab

@Mahima Mohan, You have to specify the temperature of the object and the limits of integration. Your quesiton makes it sound l...

how can integrate black body spectrum in frequency with lowest limit has energy as 13.6 eV in matlab

@Mahima Mohan, You have to specify the temperature of the object and the limits of integration. Your quesiton makes it sound l...

environ 2 mois ago | 0

| accepted

Answered

Superimposing/Overlaying Points on a Graph

@N. Alfred, to make the plots "appear as though there was just one", we should identify identiy the R-waves, use those to chop t...

Superimposing/Overlaying Points on a Graph

@N. Alfred, to make the plots "appear as though there was just one", we should identify identiy the R-waves, use those to chop t...

environ 2 mois ago | 0

Answered

How to shift array circularly using optimisation algorithm?

@Dynamic, Here is a script that demonstrates how you can find the best shift of a 3D array. In this script, I generate a 3D ar...

How to shift array circularly using optimisation algorithm?

@Dynamic, Here is a script that demonstrates how you can find the best shift of a 3D array. In this script, I generate a 3D ar...

environ 2 mois ago | 0

Answered

I'm experiencing multiple errors with my MATLAB

@Dylan Longoria, I cannot tell what you want help with. Please post a concise version of the error you are getting, and what ...

I'm experiencing multiple errors with my MATLAB

@Dylan Longoria, I cannot tell what you want help with. Please post a concise version of the error you are getting, and what ...

environ 2 mois ago | 0

Answered

Using gyroscopic measurement to rotate image

@Joao Paulo, [edit: correcting my typos] Please describe what you are trying to accomplish with imrotate. You say you have co...

Using gyroscopic measurement to rotate image

@Joao Paulo, [edit: correcting my typos] Please describe what you are trying to accomplish with imrotate. You say you have co...

environ 2 mois ago | 0

Answered

Plotting large data set within for loop

@Erin, I admit there are some things I don;t understand about your code. One thing I notice is that you have for ijk=numCol...

Plotting large data set within for loop

@Erin, I admit there are some things I don;t understand about your code. One thing I notice is that you have for ijk=numCol...

2 mois ago | 0

Answered

(PCA) How do I find out if principal components (number of significant coefficients) change over time?

@lil brain, If your hypothesis is true, then the percent of variance explained by the first M principal components (where you c...

(PCA) How do I find out if principal components (number of significant coefficients) change over time?

@lil brain, If your hypothesis is true, then the percent of variance explained by the first M principal components (where you c...

2 mois ago | 0