MATLAB Answers

Simultaneous calculations (vectorization or for loops)

2 views (last 30 days)
Mate 2u
Mate 2u on 10 Apr 2013
How can I do thousands of calculations simultaneously? Lets say for instance I have 50k variables and I want to do some complex calculation with all the 50k variables at once (for instance a for loop is incremental 1 at a time), I would like to do all 50k in one go? Is this possible?
If anybody can help me, or advise me I will be very grateful.

  1 Comment

PT
PT on 10 Apr 2013
You can't do thousands of calculations simultaneously. However, you can structure your variables in such a way that you can process them in a parallel-computing program.
Do you have more concrete details to your question?

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!