About Neville's Algorithm

조회 수: 9 (최근 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