Feeds
질문
How can I plot this code using the "plot" function?
x = [-1 0 1 2]; y = [1 2 -1 2]; P = cod_lagrange(x,y); %los coef aparecen de la forma Ax^n + Bx^n-1 + ... + D pretty(...
대략 8년 전 | 답변 수: 1 | 0
1
답변질문
assign the result of inverse matrix to vector
A= [4 1 0 0; 1 3 0.5 0; 0 0.5 2 0.5; 0 0 0.5 3]; b= [7.2 -6.6 3.6 3]'; [m1,m2,m3,m4]' = inv(A)*b ; <- here is the error ...
8년 초과 전 | 답변 수: 1 | 0