Community Profile

photo

cwmiller


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


I'm trying to track a particle's velocity at each time step, but my X&Y Velocity Variables keep becoming matrices, instead of overwriting each time. How should I fix this?
The code that keeps giving me and error is Counter = Counter + 1 TrackedVelocity(Counter) = sqrt((VelocityX)^2+(VelocityY)^2)...

2 years ago | 1 answer | 0

1

answer