From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

公式节点次幂表示

Labview 公式节点中次幂怎么表示,是如图两个星号这样表示吗 屏幕截图 2021-11-28 180420.png

0 Kudos
Message 1 of 4
(811 Views)

@HEQIN wrote:

Labview 公式节点中次幂怎么表示,是如图两个星号这样表示吗 


Translated by Google: "How to express the power in the Labview formula node? Is it indicated by the two asterisks as shown in the figure?"

 

If you have a question, please attach a simple VI containing your formula node and typical input values. We cannot debug images! Do you get an error?

 

Personally, I recommend to eliminate the formula node and use plain graphical code. Much simpler! Here's the power of x function.

0 Kudos
Message 2 of 4
(786 Views)

Are you sure your formula should not be:

 

fi=f1*((f2/f1)**(i/(N-1)));

 

instead of your:

 

fi=f1*((f2/f1)**(i/N-1));

0 Kudos
Message 3 of 4
(777 Views)

Here's how it would look with the above correction.

 

One possible alternative without formula node is shown below. Same result! (There are many ways to do that!).

 

Note that the same can be achieved with the ramp pattern set to logarithmic (bottom). That's what I would use!

 

 

altenbach_0-1638125951822.png

 

 

0 Kudos
Message 4 of 4
(769 Views)