Starting from:
$30

$24

Homework 2 Solution

Use Matlab, Cpp, Python, etc. to:







(80 points) Write a programing function to compute a sigma norm defined in Equation (8) in Slide 14, Lecture 4.



Then enter following inputs to your written function to compute sigma norm of the following qi and qj (you can set ϵ = 0.1):




qi = [3, 5] and qj = [7, 5];
qi = [2, 8] and qj = [4, 5].



(Put your code here so the instructor can check it easily.)




(20 points) Compare values of sigma norm and Euclidean norm (you can put the results in a table to easily compare them). If you forget about the Euclidean norm, read Slide 7 in Lecture 4.
You can further test your sigma norm and compare it with Eulidean norm using different inputs of qi and qj than the ones defined in Question 1.

More products