How to create a column vector where each element will be compounded amount by percentage of another vactor?
Mostra commenti meno recenti
Hi, suppose that x=[.2 .3 .4]'; I need to create z=[1000 1000*(1+.2) 1000*(1+.2)(1+.3) 1000*(1+.2)(1+.3)(1+.4)]'. This is just an example. My original x variable has thousands of data. Anyone can help please? first value of z can be 1000 or any other arbitrary value.
Risposta accettata
Più risposte (1)
Mohammad Sayeed
il 15 Lug 2014
0 voti
Categorie
Scopri di più su Modeling in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!