Community Profile

photo

Muhideen Ogunlowo


Last seen: 5 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How do I plot the infinite norm of a matrix on a graph?. I should have a square but I end up having a circle
A=[2 0;1 -1]; Matrix A %(Sample Matrix) infnorm=norm(A,inf) %Infinite norm theta=linspace(0,2*pi,601); % Using 601 points x=[...

7 months ago | 1 answer | 0

1

answer

Question


How do I write out symbolically what this function does in the case n= 5 for the iteration with j = 3, Using ordinary element wise vector and matrix notation
function [L, U] = lufacto(A) % LUFACT LU factorization % Input: % A square matrix % Output: % (L, U) un...

7 months ago | 1 answer | 0

1

answer

Question


Accepting multiple values for a function. I want my function to accept multiple values for beta
function x = backsub(U,b) %FORWARDSUB Solve a lower triangular linear system %Input: % U = Upper triangular matrix (n by n)...

7 months ago | 1 answer | 0

1

answer

Question


I have a variance question, however, my code isn't bringing up this in the command window when i try to run it. "Function definition are not supported in this context".
function s2 = samplevar(x) n=length(x); %sample size q=mean(x);% mean of vector for x=2:n s2= sum((x-q)^2)/(n-1); formul...

8 months ago | 1 answer | 0

1

answer