uploaded all materials

This commit is contained in:
2025-03-24 00:43:09 -04:00
commit f2fb36f646
78 changed files with 15606 additions and 0 deletions

5
hw4/extrema.m Normal file
View File

@@ -0,0 +1,5 @@
function [y_ext, x_ext] = extrema(y, x)
y_switch = switchsign( deriv(y, x) );
y_ext = nonzeros(y_switch .* y);
x_ext = nonzeros(y_switch .* x);
end