photo

Muhideen Ogunlowo


Last seen: 12 Monate vor Aktiv seit 2023

Followers: 0   Following: 0

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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=[...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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)...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort