Abfrage ob für alle Werte die Bedingung stimmt

Forums ProRealTime Deutsch forum ProOrder Support Abfrage ob für alle Werte die Bedingung stimmt

Viewing 6 posts - 1 through 6 (of 6 total)
  • #241791

    Hallo zusammen,

    wie stelle ich die Abfrage ob die Bedingung für alle Werte von “n” erfüllt ist?

    #241793
    JS

    Hallo Suffi,

    c11=Summation[9](indicator1[n]<indicator1[n-1])=9

    4 users thanked author for this post.
    #241829

    Danke für die Unterstützung, ich werde es ausprobieren

    #242010

    gibt es für die for do Anweisung auch eine Angabe wie groß die Schritteite sein soll?

    Bsp.: FOR n=0 to 20 STEP 2

    Gruß

    Suffi

    #242014
    JS

    Sie können für eine “For-Schleife” keine Schrittweite angeben, sie ist immer 1…

    In diesem Fall sollten Sie ebenfalls eine Schrittweite von 1…

    C11=0

    For n=2 to 10 do

    C11=Summation[9](indicator1[n]<indicator1[n-1])=9

    Next

    Return c11

    #242020

    Sie können einen STEP-Wert mit den Schlüsselwörtern MODULUS und CONTINUE in einem IF/ENDIF-Block erstellen. WENN es einen Bedarf gibt.

     

     

    3 users thanked author for this post.
Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login