Matlab files polyval?
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!