Skip to content

Commit

Permalink
Update lagrangeInterpolation.m
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapathakk authored Jul 18, 2023
1 parent 6c65a71 commit 5da0d37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lagrangeInterpolation.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Aditya Pathak | 102115044 | Lagrange Interpolation | 7.07.2023
% Lagrange Interpolation

clc; clear all;

Expand All @@ -19,4 +19,4 @@

finalCoeff = sum(p, 1);
lagrangePoly = poly2sym(finalCoeff)
polyval(finalCoeff, 0.3)
polyval(finalCoeff, 0.3)

0 comments on commit 5da0d37

Please sign in to comment.