1
00:00:10,000 --> 00:00:11,000
Hello friends.

2
00:00:11,000 --> 00:00:22,000
Today we discuss how to use expression node to find out or to plot some waveform.

3
00:00:22,000 --> 00:00:28,000
So first of all, I just go to expression node, as you see over here.

4
00:00:29,000 --> 00:00:38,000
Let's I want to plot the expression sine x square.

5
00:00:38,000 --> 00:00:43,000
It is not sine whole x square, it is sine x square.

6
00:00:43,000 --> 00:00:55,000
So just put sine and the function is inside it that is x into x so it will plot sine x square.

7
00:00:55,000 --> 00:00:58,000
So I just copy it.

8
00:00:59,000 --> 00:01:04,000
And in place of this I just put sine of x.

9
00:01:04,000 --> 00:01:10,000
So I just want to check out the both the expression.

10
00:01:10,000 --> 00:01:14,000
So let's check the value.

11
00:01:14,000 --> 00:01:18,000
So I just use for loop.

12
00:01:19,000 --> 00:01:23,000
So for loop will give me some specific values.

13
00:01:23,000 --> 00:01:25,000
So just create control over here.

14
00:01:25,000 --> 00:01:30,000
It will show me how many values I just require in this case.

15
00:01:30,000 --> 00:01:33,000
So just connect it to iterations.

16
00:01:35,000 --> 00:01:38,000
Okay, So this will give me the value.

17
00:01:38,000 --> 00:01:40,000
It will give me the sine x value.

18
00:01:40,000 --> 00:01:43,000
It will give me sine x square.

19
00:01:43,000 --> 00:01:43,000
Okay.

20
00:01:43,000 --> 00:01:48,000
So I just want to plot these values.

21
00:01:48,000 --> 00:01:55,000
So I just let's go to build array function, just connect it

22
00:01:58,000 --> 00:02:01,000
and it will give me some array.

23
00:02:02,000 --> 00:02:06,000
So over here, just go to the graph.

24
00:02:06,000 --> 00:02:10,000
Let's check what is the output of this function.

25
00:02:11,000 --> 00:02:21,000
So when I hit on run button, let's put some values inside it so it will give me like this.

26
00:02:21,000 --> 00:02:25,000
So this is not the proper way of plotting.

27
00:02:27,000 --> 00:02:28,000
So ctrl v.

28
00:02:31,000 --> 00:02:34,000
So just delete it.

29
00:02:35,000 --> 00:02:38,000
So I just use charts over here.

30
00:02:38,000 --> 00:02:43,000
This is my first chart and this is my second chart.

31
00:02:44,000 --> 00:02:51,000
So I want to check out the output of both the expressions.

32
00:02:52,000 --> 00:02:54,000
So chart one, give me sine x square.

33
00:02:54,000 --> 00:02:56,000
So let's click on run button.

34
00:02:57,000 --> 00:02:59,000
As you see over here, I got the value.

35
00:02:59,000 --> 00:03:03,000
Let's take 100 values inside it.

36
00:03:04,000 --> 00:03:10,000
So as you see, it is my sine x square and it is my sine x.

37
00:03:10,000 --> 00:03:14,000
And if you want to plot in single.

38
00:03:17,000 --> 00:03:18,000
Chart.

39
00:03:19,000 --> 00:03:22,000
Just add it to the edge.

40
00:03:23,000 --> 00:03:27,000
Okay, So right now, just click over here.

41
00:03:28,000 --> 00:03:29,000
Build a.

42
00:03:36,000 --> 00:03:39,000
Build array function will not work over here.

43
00:03:40,000 --> 00:03:42,000
I just go to the expression node.

44
00:03:43,000 --> 00:03:46,000
I want to just merge signal.

45
00:03:47,000 --> 00:03:48,000
Let's check it.

46
00:03:49,000 --> 00:03:50,000
What?

47
00:03:50,000 --> 00:03:53,000
It will create control.

48
00:03:53,000 --> 00:04:01,000
You and I want to just connect this to the.

49
00:04:03,000 --> 00:04:04,000
Graph.

50
00:04:04,000 --> 00:04:05,000
Waveform graph.

51
00:04:08,000 --> 00:04:08,000
Let's check.

52
00:04:13,000 --> 00:04:17,000
So he don't run button as you see over here.

53
00:04:17,000 --> 00:04:25,000
I got both the signals of sine of x and sine of x square.

54
00:04:25,000 --> 00:04:33,000
So this is how you can use expression node in waveform plotting.

55
00:04:33,000 --> 00:04:34,000
Thank you.

