photo

Muhideen Ogunlowo


Last seen: 7 meses hace Con actividad desde 2023

Followers: 0   Following: 0

Estadística

  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

10 meses hace | 1 respuesta | 0

1

respuesta