lab assignment 9

lab assignment 9 - coordinates and plot them. Activity 2:...

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

View Full Document Right Arrow Icon
CSE 155MN (Lab-9) Create a script to accomplish the directions of each question. Hand in each script through the web-handin. Due: Monday, 7 th Oct at 11:59 pm Activity 1: Write a script ( stringmanup.m ) that will first initialize a string variable that will store x and y coordinate of point in the form, for example ‘x 3.1 y 6.4’. (Here the input is taken from the users so, it can be anything). Then, use string manipulation function to extract the
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: coordinates and plot them. Activity 2: Write a script ( checklen.m ) that will create and display a cell array that will loop to store strings of length 1, 2, 3 and 4. The script will prompt the user for the strings. It will error-check and print error message and repeat the prompt if the user enters a string with incorrect length....
View Full Document

This note was uploaded on 02/20/2012 for the course CSCE 155N taught by Professor Sandeep during the Spring '11 term at UNL.

Ask a homework question - tutors are online