i have two array x=[1 6 8 9],y=[3 6 9 14],then i plot (x,y) in matlab. i have no linear equation of x,y. i have only above array of x and y. if value of x is 4 then what is the value of y. is it possible using logic?
显示 更早的评论
i have two array x=[1 6 8 9],y=[3 6 9 14],then i plot (x,y) in matlab. i have no linear equation of x,y. i have only above array of x and y. if value of x is 4 then what is the value of y.
is it possible using logic?
4 个评论
Azzi Abdelmalek
2012-11-29
编辑:Azzi Abdelmalek
2012-11-29
what do you mean by logic? almost same question at http://www.mathworks.com/matlabcentral/answers/55165-i-have-two-array-x-1-6-8-9-y-3-6-9-14-then-i-plot-x-y-in-matlab-i-have-no-linear-equation-of
PK
2012-11-29
please be clear with you question ,, what exactly do u require or to execute?
vipul utsav
2012-11-29
Azzi Abdelmalek
2012-11-29
What result are you expecting?
采纳的回答
更多回答(1 个)
There is an infinite number of possible values: You can e.g. define an infinite number of polynomials through these points. And there are much more functions than only polynomials.
Therefore this problem cannot be solved, when there are no further restrictions.
One workaround would be to choose 19. This is not really serious, but fast and it solves the question as good as any other value also. The choice of 19 is explained in Carl E. Liderholm: "Mathematics Made Difficult", 1972:
Each sequence of natural number can be continued by 19.
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!