Community Profile

photo

cwmiller


Last seen: 2 months ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

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 months ago | 1 answer | 0

1

answer