Community Profile # William Rose

Active since 2007

#### Statistics

All
• • • • • • • • • • #### Content Feed

View by

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

4 días 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...

4 días 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...

5 días 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...

5 días 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...

5 días 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...

5 días 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 ...

7 días ago | 0

How to plot 3D using a table

8 días ago | 0

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

8 días 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...

8 días 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...

8 días ago | 0

| accepted

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

8 días ago | 0

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

8 días ago | 0

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

10 días ago | 0

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

11 días ago | 0

| accepted

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

13 días ago | 0

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

13 días ago | 0

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

13 días ago | 0

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

15 días ago | 0

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

15 días ago | 0

| accepted

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

18 días ago | 0

| accepted

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

19 días ago | 0

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

22 días ago | 0

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

22 días ago | 0

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

23 días ago | 0

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

25 días ago | 0

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

alrededor de 1 mes ago | 0

How can I plot a three-species Lotka-Volterra model?
@Hagen Gersie, The answer from @Sam Chak is excellent . It has the virtues of conciseness and clarity. You may be wondering wh...

alrededor de 1 mes ago | 1

| accepted