Hi,
I want to plot the following variables U, s1, s2, x1 and x2 in a 3D plot. How do I go about this in MATLAB?
if true if x1*(x1 - x2) >= 0 s1 = x1; else s1 = 0; end if -x2*(x1 - x2) >= 0 s2 = x2; else s2 =0; end U = G*(a*s1 + (1-a)*s2); % G and a are constants.
end
From what I understand this will require a sampling frequency. F = 100000 should suffice for my needs. I just want to know what the approach is for such problems.
Thanks.
Shilp
Best Answer