Muhideen Ogunlowo
Followers: 0 Following: 0
Feeds
提问
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=[...
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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)...
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
1 year 前 | 1 个回答 | 0