photo

Muhideen Ogunlowo


Last seen: 12 mois il y a Actif depuis 2023

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse