About Neville's Algorithm

2 次查看(过去 30 天)
Joey Wang
Joey Wang 2020-11-14
编辑: Joey Wang 2020-11-14
So how exactly can I number my functions if Matlab doesn't support function numbering?
For example:
I got n nodes with x=-1:(2/n):1
But since there's no function numbering, I can't create P0,1(x)~Pn-1,n(x) with loops
The seemingly doable way I can come up now is to define function p=((input point)-x(i)) and go for a double loop, which avoids numbering the functions in the first place

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by