loop of powers

pval = [1e-24 1e-23 1e-22 1e-21 1e-20]
How can I initialize such an array by inputting only -24 and -20? Many thanks for your time.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 15 Jun 2012

Community Treasure Hunt

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

Start Hunting!