Creating a matrix for a function
8 次查看(过去 30 天)
显示 更早的评论
% create matrix A for
% f = c₀ + c₁sin(t) + c₂cos(t) + c₃sin(2t) + c₄cos(2t)
%A =
Tis is the question that I should complete.
f (t) = a +b t +c t ^2
A = [t .^0 t.^1 t .^2]
And this is the example that my proffessor gave me. But when I solve the question according to the exmaple it gives this error '' Check matrix A
The submission must contain a variable named A. '' Can anyone help me with that? Thanks for your time.
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!