vector matrix multiplication with increment

for a constant incremental of +1 the out result is to be multiplied and stored in another matrix ex: A=[1 2 3 4 5] and W=4 so the result is to be as OUT=[1*W 2*(W+1) 3*(W+3) 4*(W+4) 5*(W+5)] addition to occur first and then multiplication can u help in this.

类别

帮助中心File Exchange 中查找有关 Matrices and Arrays 的更多信息

提问:

PK
2012-9-28

Community Treasure Hunt

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

Start Hunting!

Translated by