User Tools

Site Tools


faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq [2012/04/01 20:07] aanfaq [2013/01/07 18:31] (current) aan
Line 1: Line 1:
 ====== Frequently Asked Questions ====== ====== Frequently Asked Questions ======
  
 +FAQs and their answers will be posted here.
  
 +/*
 ===== FAQs for Assignment 5 ===== ===== FAQs for Assignment 5 =====
  
-===When I press c or m on the keyboard, the Correct/Incorrect/Invalid keeps appearing at +=== When I press c or m on the keyboard, the Correct/Incorrect/Invalid keeps appearing at random locations. How do I make it in a way that it always appears in the middle? ===
-random locations. How do I make it in a way that it always appears in the middle?===+
  
  
-The reason your "Correct!", "Incorrect!" or 'Invalid!" is shown at random places is that +The reason why your "Correct!", "Incorrect!" or 'Invalid!" is shown at random places is that 
-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 in your plot command. Thus, an absolute position such as (0.4, 0.5) may not be the center of your figure window.
-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 on this command.
  
  
Line 28: Line 28:
 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