Common way to generate finite geometric series in MATLAB - Stack ...

Common way to generate finite geometric series in MATLAB - Stack ...

瀏覽:1186
日期:2025-06-23
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 ......看更多