Statistics
RANK
270,468
of 289,982
REPUTATION
0
CONTRIBUTIONS
4 Questions
1 Answer
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 19,616
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144,374
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
I have this code that works fine plotting and calculating a particle's position over time. I need to do this for multiple particles, say for example n=400 but I am unsure how to even start so any help or suggestions would be much appreciated
clear q=-1; %Charge of particle m=1; %Mass of particle r0=[9 5 0]; %Initial position vector of particle v0=[2 2 0]; ...
10 years ago | 0 answers | 0
0
answersQuestion
How to run code for multiple n particles
I have the following working code that models the position over time of a single particle and was wondering if anyone had any id...
10 years ago | 0 answers | 0
0
answersQuestion
How can i store and output specific number of values from a WHILE LOOP
I have the following code to plot a particle moving in a magnetic field; clear q=-1; m=1; r0=[9 5 0]; v0=[2 2 0]; B=[0 0 1...
10 years ago | 0 answers | 0
0
answersHow can i plot ALL values produced from while loop from the following code??
I did what you said so my amended code reads; clear q=-1; m=1; r0=[1 2 0]; v0=[2 2 0]; B=[0 0 1]; E=[0 0 0]; t=0; dt=...
10 years ago | 0
Question
How can i plot ALL values produced from while loop from the following code??
I have written the following code and wish to plot all values produced but at the moment it only gives one point clear q...
10 years ago | 3 answers | 0