Solving linear functions with matrix

์กฐํšŒ ์ˆ˜: 5 (์ตœ๊ทผ 30์ผ)
MR JUSTIN ACHARJEE Sumanta
MR JUSTIN ACHARJEE Sumanta 2021๋…„ 12์›” 9์ผ
๋Œ“๊ธ€: Walter Roberson 2021๋…„ 12์›” 9์ผ
Suppose it is known that the graph of the function ๐‘ฆ(๐‘ฅ)=๐‘Ž๐‘ฅ3+๐‘๐‘ฅ2+๐‘๐‘ฅ+๐‘‘ passes through four given points (๐‘ฅ๐‘–,๐‘ฆ๐‘–),where ๐‘–=1,2,3,4. Write a user-defined function that accepts these four points as input and computes the coefficients ๐‘Ž, ๐‘, ๐‘, and ๐‘‘. The function should solve four linear equations in terms of the four unknowns a, b, c, and d. Test your function for the case where ๐‘๐‘œ๐‘œ๐‘Ÿ๐‘‘=[โˆ’2,โˆ’20; 0,4; 2,68; 4,508] , whose answer is ๐‘Ž=7, ๐‘=5, ๐‘=โˆ’6, and ๐‘‘=4. Plot the function as a solid UoP purple line and the coord points as UoP blue triangular markers with no line on the same axis. Label and format the graph.
  ๋Œ“๊ธ€ ์ˆ˜: 1
Walter Roberson
Walter Roberson 2021๋…„ 12์›” 9์ผ

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

๋‹ต๋ณ€ (0๊ฐœ)

์นดํ…Œ๊ณ ๋ฆฌ

Help Center ๋ฐ File Exchange์—์„œ Calculus์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ

ํƒœ๊ทธ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by