Matlab files polyval?
显示 更早的评论
Hi I have a code but could anybody tell me what does this code mean
Question 1.
Beta = polyval(Results.data1,0);
Results is my matfiles which contains 'data1' field inside with two values 12 and 15.
i have seen the help on ployval. for example Beta = polyval(p,x) This will evaluate p at x. Just wanted to know what will be the value of p in my above case since i have two values 12 and 15. Is my p=12x+15?
What is the result of Beta?
Question 2.
Delta = @(im_) polyval(Results.data2,im_);
Inthis case i didnot understande anything. In this case data2 contains three values 4, 5 and 7.
What will be the results of Delta and what actually is im_ in this case
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!