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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

power array

Solved!
Go to solution

Hi

How to take power or root of each element of 1-D array?

0 Kudos
Message 1 of 8
(3,855 Views)
Can you please provide more details about your 1-D array?
Regards
MY
0 Kudos
Message 2 of 8
(3,850 Views)

a simple 1-d array what do u need more?

like

1

2

3

4

5

6

7

8

9

 

0 Kudos
Message 3 of 8
(3,841 Views)

Hi Quaidian,

 

what  do you mean a Power or Root element?

Regards
MY
Message 4 of 8
(3,838 Views)
i mean to take cube of each element or take square root of each element
1        1         1
2        4         1.4
3        9         1.7

0 Kudos
Message 5 of 8
(3,832 Views)
I have attached an example. May that can help you.
Regards
MY
Message 6 of 8
(3,824 Views)
Solution
Accepted by topic author quaidian

Have you tried to connect an array to the Square Root Function
Owning Palette: Numeric Functions
Computes the square root of the input value.If x is negative, the square root is NaN unless x is complex. If x is a matrix, this function takes the matrix square root of x. The connector pane displays the default data types for this polymorphic function. x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.

Remember always enable context help (Ctrl+h), and do not be afraid to dive into the detailed help option



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 7 of 8
(3,820 Views)
ok i had negative numbers in the array
0 Kudos
Message 8 of 8
(3,817 Views)