LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph of the function

Hello! I also need help, I can't plot the function sqrt(7x)+2, if someone can help me, please. I want to plot something like this

de sters.png

0 Kudos
Message 1 of 6
(137 Views)

What is stopping you that you 'can't plot' that function? Have you tried something?

0 Kudos
Message 2 of 6
(132 Views)

First, you need a ramp of x values in a suitable range, then apply the function. After that, use an xy graph to display the data. This solution is independent of any specific programming language. (Be aware that negative x are not allowed unless you use a complex datatype for x)

 

Since you posted in the LabVIEW forum, we can probably assume that you want to use LabVIEW. What have you tried? Where did you get stuck? Do you have problem with the math? It's implementation in LabVIEW? Displaying the data? Something else?

0 Kudos
Message 3 of 6
(108 Views)

Here you have, but i dont know why its not correct.

zzzz.jpg

0 Kudos
Message 4 of 6
(90 Views)

Hi MSF,

 


@MSF99 wrote:

Here you have, but i dont know why its not correct.


What's the point of this exp(x) function?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(81 Views)

First off, you have added an additional step that is not in your listed function.

 

If all of these math functions were within the for loop, an y=f(x) could be created for each point then passed out of the loop to the XY Graph.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 6 of 6
(73 Views)