Simultaneous calculations (vectorization or for loops)

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

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?

Answers (0)

This question is closed.

Asked:

on 10 Apr 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!