How can I get operating the code vector computing with different size matrix
Show older comments
I want to do vector operations.
When the initial position x = s, 1000 particles enter the function with different phases, they receive different E-fields through a while loop and reach the point x = 0. This will cause the loop to end at different points, causing an error.
I am wondering how to solve this problem.
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!