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
(5,265 Views)
Can you please provide more details about your 1-D array?
Regards
MY
0 Kudos
Message 2 of 8
(5,260 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
(5,251 Views)

Hi Quaidian,

 

what  do you mean a Power or Root element?

Regards
MY
Message 4 of 8
(5,248 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
(5,242 Views)
I have attached an example. May that can help you.
Regards
MY
Message 6 of 8
(5,234 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
(5,230 Views)
ok i had negative numbers in the array
0 Kudos
Message 8 of 8
(5,227 Views)