Question
The question is attached in following two photos. Please use Matlab if you exactly know how to do it. Thank you.

Linorm.m Create a function Linorm which takes one argument, M a square matrix and computes the LI-norm of the matrix. This is
denoted lIMll, as follows. For each column of the matrix we add together the absolute values of the entries in that column, a
Linorm.m Create a function Linorm which takes one argument, M a square matrix and computes the LI-norm of the matrix. This is a number associated to each square matrix M,
denoted lIMll, as follows. For each column of the matrix we add together the absolute values of the entries in that column, and we then take the maximum of those sums: SiSn where miy denotes the entry in the i-th row and j-th column of the matrix. For example, if 1 2 3 0 M1-14 5 0 3 2 1 4 3 2 1 11 +1-11+ I0 +41-6 [31 +14] + 121 + 12] = 11 then we compute the sum of absolute values for each column, 21 +-1+1- 31 +13-9 lo) + 15 + 1 +1-7 we then take the maximum of these values, which is 11, and so l|MIl 11
0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

clc
clear all
close all
M=[1,2,3,0;-1,-1,4,5;0,-3,2,1;4,3,2,1];
L1norm(M)
function s=L1norm(M)
s=max(sum(abs(M)));
end

MATLAB R2018a Search Documentation Log In EDITOR Find Files Compare ▼ Print Run Section New Open Save Advance Run and Find In

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
The question is attached in following two photos. Please use Matlab if you exactly know how to do it. Thank you. Linorm.m Create a function Linorm which takes one argument, M a square matrix and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Use the attached Matlab code as a basis to solve the following ordinary differential equation usi...

    Question 1 QUESTION 2 Use the attached Matlab code as a basis to solve the following ordinary differential equation using Euler's method, with timestep of 0.1, from t-0to t-100. d)0) -0 - sin (5vt cos(у Plot y versus t from t=0 to t=100. How many local maxima are on this interval(do not include end points). Be careful to count them all! Answer should be an integer 1 w% Matlab code for the solution of Module 2 3 dt-9.1; %dt is...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT