1 stranica (5 stavki)
Fast Vectorize Operator - Vectorize operator much faster than Array Index in Large Matrix Analysis - Poruke
Examples compare speed of execution using Vectorize Operator vs Array Index in Large Matrix Analysis.
WL To Q_Array Index.sm (27,25 KiB) preuzeto 1355 put(ova).
WL To Q_Vectorize.sm (28,56 KiB) preuzeto 1323 put(ova).
1.July WL&RT.xlsx (29,52 KiB) preuzeto 1108 put(ova).

WL To Q_Array Index.sm (27,25 KiB) preuzeto 1355 put(ova).
WL To Q_Vectorize.sm (28,56 KiB) preuzeto 1323 put(ova).
1.July WL&RT.xlsx (29,52 KiB) preuzeto 1108 put(ova).

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 korisnika je svidelo ovu objavu
frapuano 25. 2. 2018. 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) preuzeto 1401 put(ova).
Thank you Jean!
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
1 stranica (5 stavki)
- Novi postovi
- Nema novih postova