pascal_row - values=[F,k(1:end-1)+k(2:end),L]; end

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function values = pascal_row(row) f F=1; L=1; L if row == 1 values=1; else k = pascal_row(row-1);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: values=[F,k(1:end-1)+k(2:end),L]; end...
View Full Document

Ask a homework question - tutors are online