This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: solution. Change A to the second matrix and solve A x = b again. This time it should give you an answer. Multiply A * x . It should equal b . Keep a diary of your matlab session and hand in your script and your diary. Notes : Any of the commands that you enter in the command window can be put into an m-le. Such an m-le is called a script. Entering commands into a script can save time because if you make a mistake, it is easier to x in the script than in the command window. To create a script click on the new m-le icon in the upper left corner of the matlab window. Enter your matlab commands as you would in the command window and save the m-le. To invoke the script, go to the command window and type the name of the script at the prompt. You should already have expience with this process from homework 1....
View Full Document
- Spring '08