hw+_1 - nx: number of horizontal intervals between ax and...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
650:231 M.E. Computational Analysis and Design, Fall 2010 Homework #1: Intro to MATLAB 1. Draw a grid using the technique to draw multiple non-connected lines. The specification of the function m-file is as follows: function plot_grid(ax,bx,ay,by,nx,ny) ax: minimum value of x bx; maximum value of x ay: minimum value of y by: maximum value of y
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: nx: number of horizontal intervals between ax and ay ny: number of vertical intervals between by ay and by Example of the plot: >> plot_grid(0,10,0,10,10,10) Make sure to use a single color for all lines. Also shift the grid inside the MATLAB drawing plane so that we can see the outer frame of the grid....
View Full Document

Ask a homework question - tutors are online