No BSD License  

Highlights from
Alternative Mathematics using MATLAB 7

image thumbnail

Alternative Mathematics using MATLAB 7



13 Mar 2003 (Updated )

Self-instructive text on undergraduate algebra, statistics, differential and integral calculus.

% ex091.m: Plot Trigonometric Functions
x0=5;  X=-x0:0.01:x0;   						% Range for calculations  
Y1=sin(X);  Y2=cos(X);  Y3=tan(X);  Y4=cot(X); 
figure(1),  plot(X,Y1,  X,Y2,  X,Y3,  X,Y4),  grid on
y0=3;  												% Vertical plot limit
axis([-x0 x0 -y0 y0])								% Ranges of the plot box
title('Trigonometric Functions'),  xlabel('x'),  ylabel('sin(x), cos(x), etc.')
legend('sin(x)', 'cos(x)', 'tan(x)', 'cot(x)') 	% Identify curves

Contact us