0
$\begingroup$

How do I create a frequency vector that increments the step size as a percentage of the previous step size? For example, if I wanted to create table, and wanted to span 4 decades with 100 point in each decade, how would I define that?

$\endgroup$
  • 2
    $\begingroup$ Have you seen PowerRange? $\endgroup$ – MarcoB Feb 28 '17 at 4:40
0
$\begingroup$

Here is your table:

Table[x, {x, 10^Range[0, 4, 1/100]}]
$\endgroup$
  • $\begingroup$ Wait, why aren't you just doing 10^Range[0, 4, 1/100]? $\endgroup$ – march Feb 28 '17 at 5:23
  • $\begingroup$ Because the OP wanted to have a table so I provided the code where he only needs to insert his function in place of x. $\endgroup$ – Felix Feb 28 '17 at 5:27
  • $\begingroup$ Thank you, I'll try it later this morning. However, doesn't this make each step 10^(1/100)? I'm looking to make each step 10^(1/100)*(previous step). Still trying it when I get into the office- thanks! $\endgroup$ – jrive Feb 28 '17 at 12:12
  • $\begingroup$ works like a charm. Thank you. I understand it now. Excellent. $\endgroup$ – jrive Feb 28 '17 at 17:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.