1 Pages (5 items)
Fast Vectorize Operator - Vectorize operator much faster than Array Index in Large Matrix Analysis - Messages
Examples compare speed of execution using Vectorize Operator vs Array Index in Large Matrix Analysis.
WL To Q_Array Index.sm (27.25 KiB) downloaded 1009 time(s).
WL To Q_Vectorize.sm (28.56 KiB) downloaded 984 time(s).
1.July WL&RT.xlsx (29.52 KiB) downloaded 885 time(s).

WL To Q_Array Index.sm (27.25 KiB) downloaded 1009 time(s).
WL To Q_Vectorize.sm (28.56 KiB) downloaded 984 time(s).
1.July WL&RT.xlsx (29.52 KiB) downloaded 885 time(s).

Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Hi. This is the help page for matlab about what their call (in matlab slang) the "vectorization process", instead of the use of "scalar approach" which include for and while loops: https://la.mathworks.com/help/matlab/matlab_prog/vectorization.html
So, scalar = for, while, slow, and vectorial = vectorize in smath, and fast.
Best regards
Alvaro.
So, scalar = for, while, slow, and vectorial = vectorize in smath, and fast.
Best regards
Alvaro.
1 users liked this post
frapuano 2018/2/25 06:02:00
Hi Razonar
Thank you for the useful info.
Thank you for the useful info.
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
WroteExamples compare speed of execution using Vectorize Operator vs Array Index in Large Matrix Analysis.
Here attached a good demo.
VectorizTest.sm (22.24 KiB) downloaded 1047 time(s).
Thank you Jean!
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
1 Pages (5 items)
- New Posts
- No New Posts