InterviewSolution
Saved Bookmarks
| 1. |
If we want to plot matrix arguments, which of the following gets plotted?(a) Column wise inter-relation of two arguments(b) Row wise inter-relation of two arguments(c) Diagonally inter-relation of two arguments(d) The arguments are incomprehensibleI have been asked this question in a national level competition.This key question is from Graphics in chapter MATLAB Basics of MATLAB |
|
Answer» CORRECT answer is (a) COLUMN wise inter-relation of TWO arguments Best explanation: We have to keep in mind the order while trying to plot two matrix arguments. MATLAB will take the column wise relation between the two arguments. So, if x=[x1 X2 x3];y=[y1 y2 y3]; plot(x,y)- MATLAB will generate a plot between (x1,y1),(x2,y2) and so on. |
|