photo

Emilio Ortega


Last seen: 4 years 前 自 2017 起处于活动状态

Followers: 0   Following: 0

统计学

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

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

7 years 前 | 1 个回答 | 0

1

个回答