Horner's algorithm
20 次查看(过去 30 天)
显示 更早的评论
I'm having trouble using Horner's algortihm. I'm supposed to use a 'for' loop for this algorithm to find the expansion of x-sinx. So far I have:
n=input('\nEnter polynomial max Degree:');
fprintf('\nEnter the coefficients from lowest to highest:');
But I don't know where to go from there. I'm new to matlab and coding so I'm kinda lost. Please help. Thank you!
回答(1 个)
Jan
2019-1-30
To learn the basics, read the Getting Started chapters in the documentation. Read Matlab's Onramp also: https://matlabacademy.mathworks.com/ .
See also: How to ask a good question
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!