3. Stalagmite Homework
Objective: % stalagmite.m function [fij] = stalagmite(i,j) x = input_vector(1); y = input_vector(2); f1x = (sin(5.1*pi*x + 0.5))^6; f1y = (sin(5.1*pi*y + 0.5))^6; f2x = exp(-4*ln(2)*(x-0.0667)^2/0.64); f2y = exp(-4*ln(2)*(y -0.0667)^2/0.64); fij = f1x*f2x*f1y*f2y; end % i am getting the following feedback % 'x' undefined near…