faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq [2012/04/01 20:07] – aan | faq [2012/09/04 17:03] (current) – aan | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Frequently Asked Questions ====== | ====== Frequently Asked Questions ====== | ||
+ | This page will answer frequently-asked questions from the students. | ||
+ | /* | ||
===== FAQs for Assignment 5 ===== | ===== FAQs for Assignment 5 ===== | ||
- | ===When I press c or m on the keyboard, the Correct/ | + | === When I press c or m on the keyboard, the Correct/ |
- | random locations. How do I make it in a way that it always appears in the middle?=== | + | |
- | The reason your " | + | The reason |
- | MATLAB automatically scales the axes based on the values in x and y vectors | + | MATLAB automatically scales the axes based on the values in the x and y vectors |
- | in your plot command. Thus, an absolute position such as (0.4, 0.5) may not be the center | + | in your plot command. That is, the value limits of x and y axes depend on the minimum and maximum values in the x and y vectors |
- | of your figure window. | + | |
- | This problem can be solved by using the axis command to set the value limits | + | This problem can be solved by using the **axis** command to set the value limits |
of x and y axes after you use the plot command to draw the small shapes. For example, | of x and y axes after you use the plot command to draw the small shapes. For example, | ||
- | if the x and y coordinates of all your points are both between 0 and 1, you can use [0 1 0 1] with your axis command. Please see the lecture notes on this command. | + | if the x and y coordinates of all your points are between 0 and 1, you can use [0 1 0 1] with your axis command. Please see the lecture notes for more details |
Line 28: | Line 27: | ||
One way to do it is to copy and paste the content of a file into a .txt file on your local computer and then either submit the .txt files or change the file name suffix from txt to m and submit the .m files. | One way to do it is to copy and paste the content of a file into a .txt file on your local computer and then either submit the .txt files or change the file name suffix from txt to m and submit the .m files. | ||
+ | */ | ||
faq.1333310828.txt.gz · Last modified: 2012/04/01 20:07 by aan