![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20996904_1611035461513_DEF.jpg)
BAILEY MCMASTER
Followers: 0 Following: 0
Statistics
14 Questions
0 Answers
RANK
118,485
of 293,595
REPUTATION
0
CONTRIBUTIONS
14 Questions
0 Answers
ANSWER ACCEPTANCE
42.86%
VOTES RECEIVED
1
RANK
of 20,050
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 149,446
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
My graph is not picking up my time increments, its suppose to have a nice curve, but its coming out as a straight line.
clear Ts=30; % ms Td=60; % ms Chs=.001; % L/mmhg Chd=.015; % L/mmhg N=800; % number of elements t=0:1:800; % all time valu...
11 months ago | 2 answers | 0
2
answersQuestion
My graph isn't picking up my time increments. How can I fix it? My loop generates my x values, but I'm trying to graph them over time.
% Ch=(Chd-Chs)e^(-t/ts)+Chs equation from C.3 clear Ts=30; % ms Td=60; % ms Chs=.001; % L/mmhg Chd=.015; % L/mmhg N=800; %...
11 months ago | 1 answer | 0
1
answerQuestion
I'm trying to make a for loop that has if statments that use the increments from my i to run them. How can I make this work, it won't run.
Ts=30; % ms Td=60; % ms sc=10^-3; % conversion from ms to s Chs=.001; % L/mmhg Chd=.015; % L/mmhg dt=.1; % incrment of time...
11 months ago | 2 answers | 0
2
answersQuestion
I'm trying to vectorize my for loop, what would be the best method?
clear all Linearparams=[3.5,1.0]; nonLinearParams=[5]; timevals=[0:.01:4.99]; n=length(timevals) for i=1:n yvals(i)=Li...
12 months ago | 1 answer | 0
1
answerQuestion
Please help, I'm trying to make a function but I keep getting major errors and I dont know why.
function [y,x]=position(N,IS) for i=1:N if IS(i)==1 % checks if ligand is active and give new position dx...
1 year ago | 1 answer | 0
1
answerQuestion
How can I make this a callable function?
function [i,IS]=firststateupdate(N,P_ub,w1) for i=1:N w1=randi([0,1],1); if IS(i)==2 && w1<P_ub ...
1 year ago | 1 answer | 1
1
answerQuestion
I"m having problems making this a callable function, How can I fix it,
function [dx,dy,y,x,x_prv,y_prv]=position(N,L,x,y) for i=1:N if IS(i)==1 % checks if ligand is active and give new p...
1 year ago | 0 answers | 0
0
answersQuestion
How do i make this section of code a callable function, I keep getting errors
function [dx,dy,y,x,state]=position(N,i) for i=1:N if state(i)==1 % checks if ligand is active and give new position...
1 year ago | 1 answer | 0
1
answerQuestion
How can I add arrows to each integrin particle in my plot that is moving.
N=10; % number of integrins L=100; % size of the domain 100nm D=.01; % diffusion coefficient dt=1; % time step F=randi([1, 1...
1 year ago | 1 answer | 0
1
answerQuestion
How can I add arrows onto the particles in my movie that indicate there movement with my code and how can I calculate the square displacement of each particle.
N=10; % number of integrins L=100; % size of the domain 100nm D=.01; % diffusion coefficient dt=1; % time step F=randi([1, 1...
1 year ago | 1 answer | 0
1
answerQuestion
How can I create a periodic boundary that moves the integrin in my code to the opposite side of my domain when it crosses the boundary
N=10; % number of integrins L=100; % size of the domain 100nm D=.01; % diffusion coefficient dt=1; % time step F=randi([1, 1...
1 year ago | 1 answer | 0
1
answerQuestion
Hi, I'm trying to make a boundry that reflects the integrin to the opposite side of where the boundary touches, for instance it hits the top and ends up on the bottom.
N=10; % number of integrins L=100; % size of the domain 100nm D=.01; % diffusion coefficient dt=1; % time step F=randi([1, 1...
1 year ago | 1 answer | 0
1
answerQuestion
I'm getting a matrix error of inconsistently on line 45, any tips how I can fix it.
N=10; L=10; D=.01; dt=.01; k_on=1; k_off=.1; F=1; tmax=100; x=L*rand(N,1); y=L*rand(N,1); state=zeros(N,1); figur...
1 year ago | 1 answer | 0
1
answerQuestion
I keep getting this matrix error when I run my code, any tips how I can fix it, its line 45.
N=10; L=10; D=.01; dt=.01; k_on=1; k_off=.1; F=1; tmax=100; x=L*rand(N,1); y=L*rand(N,1); state=zeros(N,1); figur...
1 year ago | 1 answer | 0