User Tools

Site Tools


gibson:teaching:spring-2016:math445:lecture:graphics3d

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Math 445 lecture 16: 3D graphics ====== <file matlab plot1d.m> % How would you make a graph of f(x) = (x-1)^2 on -3 < x < 3 % Creat vector x of gridpoints with linspace % Evaluate f(x) on gridpoints using dot operators % Use plot(x,f) to draw the graph x = linspace(-3, 3, 100); f = (x-1).^2; plot(x,f) xlabel('x') xlabel('f(x) = (x-1)^2') </file>

gibson/teaching/spring-2016/math445/lecture/graphics3d.1459264494.txt.gz · Last modified: 2016/03/29 08:14 by gibson