photo

brandon fries


Active since 2016

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How to skip elements of matrix in a loop?
Hi If I have a matrix defined as: V = zeros(20,20); %sides at 1,-1 V(1:21,1) = 1; V(1:21,21) = -1; V(1:21,2:20) = 2; ...

5 years ago | 1 answer | 0

1

answer

Question


Runge-kutta (rk2) for radio decay
solve the equation dN(t)/dt=-N(t)/tau decay constant=1 initial nuclei=1000 @ t=0 *my code so far is:* %radioact...

8 years ago | 1 answer | 0

1

answer