I'm trying to simulative tidal wave and reflect the wave about the x-axis after 1 quarter of a lunar cycle.
What I want is to mirror about the x-axis what i currently have after x = 7.3826475.
This is my coding for the first quarter and what it looks importing data from an excel spreadsheet to give a damped sinusoidal shape.
data=xlsread('Tidal Sites.xlsx');A=data(:,9);B=data(:,10);C=data(:,11);D=data(:,12);x1=linspace(0., 7.3826475, 10000);y1=det(A(1))*((exp(1).^(det(-B(1)).*x1))).*sin((det(C(1)).*x1)+det(D(1)));figure, plot(x1,y1), hold on
Best Answer