photo

Kelly McGuire


Last seen: 거의 3년 전 2017년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Animate 2D coordinate plot
I have a list of x,y coordinates for a particle. I would like to animate the plot so it looks like the particle is drawing out ...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


disp gives wrong format
I was making a program to calculate the vertical displacement and then display a matrix of the time and displacement outputs. Th...

대략 5년 전 | 답변 수: 2 | 0

2

답변

질문


Using Two Model Functions With LSQCUREVFIT
My data requires two model functions for the curve fitting. I use one function for the first part of the data, and the second...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to plot LSQCURVEFIT output
I have almost finished writing a program that fits my data using lsqcurvefit and two different functions for different parts o...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


For Loop Iteration With Part of Vector
I want to use a row vector to index in a for loop. But, I want to switch to a different function when the index reaches a certa...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Curve fitting in a for loop?
I haven't tried this before, but I would like to run the code below in a for loop and have all of the data points and fitted c...

거의 6년 전 | 답변 수: 0 | 0

0

답변

답변 있음
Data Curve Fitting Not Fitting Third Point?
Fixed the problem. In the second plot, my x(2) was in the wrong term. It should have been brought into the left parthensis. He...

거의 6년 전 | 0

질문


Data Curve Fitting Not Fitting Third Point?
Any ideas why it appears the third data point is not being fit? xdata = [1;10;100]; ydata = [0;0;0.3]; fun = @(x,xdata)...

거의 6년 전 | 답변 수: 1 | 0

1

답변

답변 있음
LSQCURVEFIT Error When Trying To Optimize Parameters
Ok, here is the working code. Apparently, I needed to convert degrees to radians for this least squares computation on the cosi...

거의 6년 전 | 0

| 수락됨

질문


LSQCURVEFIT Error When Trying To Optimize Parameters
I am trying to optimize 5 parameters using lsqcurvefite. I keep getting "Array indices must be positive integers or logical v...

거의 6년 전 | 답변 수: 2 | 0

2

답변

질문


Particles Moving Left Or Right On X-Axis
I just wrote this code to randomly place particles on the x-axis and then randomly assign a velocity so they go right or left....

거의 6년 전 | 답변 수: 0 | 0

0

답변

질문


Saving for loop output ever iteration
I would like to save the output from the second for loop every iteration so that I can plot it vs the variable G at the end. ...

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


2D Random Walk Please Explain What These For Loops Are Doing
Could someone explain how and what these for loops are doing in the 2D random walk? clc clear all %Ask for number of rive...

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


Average trajectory of multiple 2D random walk trajectories
How would I plot the average trajectory of multiple 2D random walk traces constrained between two points? Here is the code I am...

거의 6년 전 | 답변 수: 0 | 0

0

답변

질문


Duplicate Points In Overlapping Section of Two Overlapping Spheres
I have two overlapping spheres, and I am using the Monte Carlo method to calculate the volume of the combined spheres. Everythi...

거의 6년 전 | 답변 수: 0 | 0

0

답변

답변 있음
Monte Carlo Two Overlapping Spheres
Here is the complete working code: clc clear S=input('Number of Simulations: '); N=input('Number of points: '); fileID ...

거의 6년 전 | 0

| 수락됨

질문


Monte Carlo Two Overlapping Spheres
I am trying to estimate the volume of two overlapping spheres using the Monte Carlo method. One sphere (white) is centered at...

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


Adding Bias To Random Walk
How would add a bias or probability of 34%, 22%, 22%, and 22% for each of the four directions in the attached random walk code?...

거의 6년 전 | 답변 수: 2 | 0

2

답변

질문


How do I animate this line plot?
I am trying to make an animated line plot changing based on the number of water molecules at a given amino acid inside an ion ch...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Plot Circle In For Loop
I have this code that is set up to animate a circle plot based on the circle's diameter. I am struggling with how to plot the c...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Animating a circle based on diameter data
I have two columns of data. In one is the frame number (which I may convert to time in nanoseconds) and in the other is the dia...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Program Sudden Errors Appearing
This program I wrote was working just fine, but then upgraded to Matlab 2017 and these errors appear (see pic attachment). My p...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


LSQCURVEFIT Global Fit Unequal Data Question
Ok, so I am trying to do a global fit of multiple traces to obtain 4 parameters. I have 15 traces that I am trying to fit at th...

7년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Not enough input arguments
I am not understanding what is wrong with line 10, which is [a,b] = size(t); function [ diffVec ] = GlobChiSq( p, t, Co, Di...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


For Loops With Matrices
So, I am trying to perform a global fit on 15 data traces obtained from electrophysiology. The first three traces had a concent...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


lsqcurvefit not working, large f(x) values during iterations
I am trying to use lsqcurvefit to fit data using a nonlinear function (modelFun in the code), but I just can't get it to work. ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Script runs, but can't see solution
My code is shown below. I am trying to fit my data with an equation we developed. I get a plot at the end of the run with no e...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


What is generating "Subscript indices must either be real positive integers or logicals" in my code?
I have attached my code. I know the error happens in my mathematical expression, I just don't understand exactly what the error...

7년 초과 전 | 답변 수: 2 | 0

2

답변