Example of hold and legend function, MATLAB Programming

Example of Hold and legend function:

Running this script will generate two individual figure windows. If there is not any other active figure window, the first, that is the bar chart, will be in the one titled in the MATLAB Figure. The second will be in next figure. See the afterward figure for both plots.

463_Example of Hold and legend function.png

Note that the first and last points are on the axes that make them complicated to see. That is why the axis function is often used-to generate space around the points so that they are all visible.

The capability to pass a vector to a function and have the function to compute every element of the vector can be very useful in generating plots. For illustration, the script showed below graphically shows the difference between the sin and cos functions:

136_Example of Hold and legend function1.png

Posted Date: 10/18/2012 7:04:17 AM | Location : United States

Related Discussions:- Example of hold and legend function, Assignment Help, Ask Question on Example of hold and legend function, Get Answer, Expert's Help, Example of hold and legend function Discussions

Write discussion on Example of hold and legend function
Your posts are moderated
Related Questions
i want the MATLAB code for properties of refrigerant R134a, Pentane and VCR Refrigeration cycle. Thanks

matlab code for path and adjancy martix between pixels

write the program sum of two numbers using matlab code

Write a script to determine the volume of a pyramid, which is 1/3 * base * height, where the base is length * width. On time the user to enter values for the length, width, and th

This can be done from the command line or from a makefile. You require a script (filename.m). Just type at the command line, or contain in the makefile: matlab

what is an error and its types

Plot way forms for the following modulation schemes using Matlab: a)      2 ASK                     b)  BFSK                                  c) BPSK          4 ASK