Info

This question is closed. Reopen it to edit or answer.

i calculate 4 values in for loop. i want to store it in array and i have to compar that values

1 view (last 30 days)
i calculate 4 values in for loop. i want to store it in array and i have to compar that values
  2 Comments
dpb
dpb on 19 Jun 2014
And, on that vein, "the Matlab way" would be to write the calculation in a form that it doesn't actually use a loop but is "vectorized". You may find the "dot-operators" of use there; see
doc punct
the second-listed use of the period ("dot").

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!