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: 

convert vector into a scalar in simulink

hello!

i am facing some challenge on converting a vector matrix into a scalar in the simulink. is there any block in the simulink that can convert a vector into a scalar?

Thanks!

0 Kudos
Message 1 of 3
(1,431 Views)

Hi Bitec,

 


@Bitec wrote:

i am facing some challenge on converting a vector matrix into a scalar in the simulink. is there any block in the simulink that can convert a vector into a scalar?


Do you know you wrote this message in a LabVIEW board, which is not related to Simulink at all?

Why don't you write your question in a Simulink-dedicated forum?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(1,400 Views)

As has been said, Simulink is not a NI product, but can be used with LabVIEW and other NI products.

 

Your question is way too vague to give an answer. A vector is worth at least two scalars (RE&IM or magnitude&direction), so converting a vector into a scalar is a lossy proposition and you need to decide what you want to keep. Please provide significantly more detail!

0 Kudos
Message 3 of 3
(1,392 Views)