photo

BAILEY MCMASTER


Last seen: 約1年 前 2023 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 3

バッジを表示

Feeds

表示方法

質問


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

約1年 前 | 2 件の回答 | 0

2

回答

質問


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

約1年 前 | 1 件の回答 | 0

1

回答

質問


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

約1年 前 | 2 件の回答 | 0

2

回答

質問


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

約1年 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 1 件の回答 | 1

1

回答

質問


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年以上 前 | 0 件の回答 | 0

0

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答