Setting up variable N, where value of N is iterated from 1 to 11 in steps of 1

Edul Batliwala
Edul Batliwala Altair Community Member
edited July 4 in Community Q&A

LPDA design,

tau = 0.93 (The growth factor.)
• sigma0 = 0.7 (Spacing)
• sigmaN = sigma(N-1)/tau, where N is iterated from 1 to 11 with an increment of 1.

 

How to define variable sigmaN -  where N is iterated from 1 to 11 with an increment of 1 ?

Tagged:

Answers

  • Torben Voigt
    Torben Voigt
    Altair Employee
    edited July 4

    Hi Edul,

    Do you mean 

    sigmaN = sigma0*(N-1)/tau, where N is iterated from 1 to 11 with an increment of 1.

    ?

    If yes, you may use scripting. In the attached video I enable the "macro recording" before creating variable sigmaN and then disabled it again afterwards. In the script editor that opens automatically, I can then use a for loop (N = 1, 11). 

    Hope this helps!

    Best regards,
    Torben