 |
Common way to generate finite geometric series in MATLAB - Stack ...
Suppose I have some number a , and I want to get vector [ 1 , a , a^2 , ... , a^N ] .
... What about a.^[0:N] ? ... I am afraid that it will need O(N^2) products, while ...
www.google.com.tw |
 |