From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-17-2020 11:19 AM
09-17-2020 11:28 AM
Hello kitoskeris4,
I Guess this is a home work application, Just try the basics and Share the one which you have tried to reach the solution, so that others can guide you to reach the final output.
09-17-2020 11:42 AM - edited 09-17-2020 11:48 AM
The top of the forum has many links to training resources. Once you completed them and there are remaining questions, please ask more specific questions. I assume the topic has also been covered in class. Have a look at your class notes.
What schools is this and what kind of qualifications does your teacher have? Asking to use a "formula node" is highly unusual. You don't need nested FOR loops, you can reshape at the end. Also the term "logically computed" is a bit weird. Logic typically involves booleans, not numerics, but it can be colloquially used for both.
09-17-2020 11:54 AM
@kitoskeris4 wrote:
One exercise is to output an 3x3 array of : 2, 4, 6 8, 10, 12 14, 16, 18 It must be done specifically by using nested for loop and formula node,
As I said, nested FOR loops and formula nodes are not needed, but since you have these unreasonable requirements, the following is not a valid solution. Still, it might give you some ideas.... 🙂 Try to recreate it from scratch.
09-17-2020 12:14 PM - edited 09-17-2020 12:15 PM
@kitoskeris4 wrote:
can’t figure out formula or what to do with formula node for desired output values.
For the most generic case, your formula node is in the innermost loop and needs five inputs wired to it to produce one output element
This is very simple math. Try to solve it with paper&pencil first.