Matlab does not equal symbol

broken image
broken image

In this example, we will take a complex number and will find its absolute value using abs (S) function.Īs we can see in the output, we have obtained absolute value of our input complex number as 10, which is same as expected by us. Let us now see how the code for absolute value looks like in Matlab if we want to compute absolute value for vectors. In this example, we will take an array of vectors and will find its absolute value using abs (S) function. Is Īs we can see in the output, we have obtained absolute value of our input array of vectors as expected by us.

broken image
broken image

Let us now see how the code for absolute value looks like in Matlab if we want to compute absolute value for an array of complex numbers. In this example, we will take an array of complex numbers and will find its absolute value using abs (S) function.Īs we can see in the output, we have obtained absolute value of our input array of complex numbers as expected by us.

broken image