About 735,000 results
Open links in new tab
  1. Solved: For loop iterating over a matrix - PTC Community

    Apr 7, 2021 · I'm trying to iterate over a matrix and for some reason I can't seem to generate the new matrix. It just spits out the last value of the iteration. Looking at other posts I think I have …

  2. Task 3–1: Writing For Loops - PTC

    Use for loops to modify several elements in a vector using a single expression. 1. Define a function f that accepts a variable vec and create a new program. 2. To define an empty for …

  3. Example: Looping and Control - PTC

    Use a for loop to repeat calculations for a specific range of values: b is defined locally, it is not known outside the program. 2. Use the program to evaluate the sum when a=5. 3. Use a while …

  4. Solved: Stacking a Matrix with a For Loop - PTC Community

    Jan 18, 2024 · I'm struggling to get a for loop to run in Mathcad Prime 7.0.0. I have a matrix "d" that I want to stack "N" times. The matrix "d" could have any number of rows, and "N" >= 1 …

  5. The For Loop Operator - PTC

    • Use a for loop when you know exactly how many times you want the body of the loop to execute. • You may want to exit a loop before its termination condition is met or to skip a …

  6. Examples Using for Loops As you might guess, for loops are especially useful when working with arrays. Our first function takes a function of two variables f as an argument and an integer N …

  7. Programming "For" Loops in Mathcad Prime - YouTube

    Programming in PTC Mathcad Prime is easy and intuitive. This short video offers examples on how to use a “For” Loop when working with range variables and vectors and matrices. You can …

  8. Mathcad - Inside Mathcad - Programming - The For Loop PDF

    It introduces the syntax of the for loop operator and provides examples of using for loops to iterate over ranges, lists, vectors, and perform operations on array elements. Key uses of for loops …

  9. Programming an iterative loop - PTC: Mathcad | Eng-Tips

    Feb 8, 2013 · Not to discourage you from programming, but the problem doesn't really need a program loop. It looks to be solvable with Given-Find or Minerr, which are described in the …

  10. Can I use FOR loop to create an array? - PTC Community

    Feb 15, 2024 · I am trying to combine a few load cases (speed and loading combinations) into arrays (or matrix), see simple example of input and what I'd like to achieve. I know how I could …

Refresh