SilLAwNeD

Scilab, constrpoly function

Jan 2nd, 2019
850
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scilab 0.14 KB | None | 0 0
  1. function [A] = constrpoly(T)
  2.     n = size(T,1)
  3.     A = zeros(n,3)
  4.     A(:,1) = ones(n,1)
  5.     A(:,2) = T
  6.     A(:,3) = T.*T
  7. endfunction
Add Comment
Please, Sign In to add comment