請問Formula node可以計算複數嗎

想請教各位先進在Formula node裡可以計算複數嗎?

我知道有Vi可以直接使用,但是如果要寫一大串複數的計算的話,整個版面將會變得很雜亂

所以想要改用Formula node去寫,但是我試了好久始終沒辦法成功

不知道各位先進有用過Formula node去寫複數計算的經驗嗎?或是Formula沒辦法做複數運算呢?

煩請解答,謝謝

我沒有相關經驗,以下有找到一篇文章,提供給你參考

Can I Use a Complex Double Type Input to the Formula Node in LabVIEW?
...Can I Use a Complex Double Type Input to the Formula Node in LabVIEW...wish to use complex double type as an input to the formula node, but LabVIEW...parts of the complex double as input to the formula node, you can do... URL:http://digital.ni.com/public.nsf/allkb/9a31dc2ff5c7c5df86256b45007aa115

謝謝ancle大大的回應,從那連結來看的話,Formula node是沒辦法計算複數的,所以我改變策略使用mathscript node,![](upload://jzUA8l9ZwqAC7yah9ndX10YddJ4.jpeg)

可以直接寫成g=6.2+9i的形式,這樣g就是一個複數了,很方便,圖中h是g的實數部分而f則是g的虛數部分,所以

h=6.2 ,   f=9

這個Node還可以做一些邏輯運算及複數運算,這對我來講方便多了