Hello friends.
Today we discuss how to use expression node to find out or to plot some waveform.
So first of all, I just go to expression node, as you see over here.
Let's I want to plot the expression sine x square.
It is not sine whole x square, it is sine x square.
So just put sine and the function is inside it that is x into x so it will plot sine x square.
So I just copy it.
And in place of this I just put sine of x.
So I just want to check out the both the expression.
So let's check the value.
So I just use for loop.
So for loop will give me some specific values.
So just create control over here.
It will show me how many values I just require in this case.
So just connect it to iterations.
Okay, So this will give me the value.
It will give me the sine x value.
It will give me sine x square.
Okay.
So I just want to plot these values.
So I just let's go to build array function, just connect it
and it will give me some array.
So over here, just go to the graph.
Let's check what is the output of this function.
So when I hit on run button, let's put some values inside it so it will give me like this.
So this is not the proper way of plotting.
So ctrl v.
So just delete it.
So I just use charts over here.
This is my first chart and this is my second chart.
So I want to check out the output of both the expressions.
So chart one, give me sine x square.
So let's click on run button.
As you see over here, I got the value.
Let's take 100 values inside it.
So as you see, it is my sine x square and it is my sine x.
And if you want to plot in single.
Chart.
Just add it to the edge.
Okay, So right now, just click over here.
Build a.
Build array function will not work over here.
I just go to the expression node.
I want to just merge signal.
Let's check it.
What?
It will create control.
You and I want to just connect this to the.
Graph.
Waveform graph.
Let's check.
So he don't run button as you see over here.
I got both the signals of sine of x and sine of x square.
So this is how you can use expression node in waveform plotting.
Thank you.