Question: Write matlab code that takes a number p >= 1 as input and plots the unit circle for the p-norm. Turn in your source code
Write matlab code that takes a number p >= 1 as input and plots the unit circle for the p-norm. Turn in your source code and the plots for p = 1:5 and p = 5.
I would like to see the matlab code and the respective plots it generates...I am having a hard time understanding how the p-norm would be plotted. I understand how it may be calculated. I know Matlab has a norm calculation function for a given p, but that doesn't help me plot the p norm.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
