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 matlab code for DFB Equiliser and the output between tha number of iterations vs MSE

Micro-mouse is an engineering design competition created by IEEE in the late 1970s. Small robotic "mice" solve a 16x16 cell maze. The mice are completely autonomous and must find t

This assignment is designed to compare performance between Matlab and Excel for performing nonlinear regression analysis of a set of data. There are two data sets in the accompa

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 ba

I am doing project "Recognizing people in video based on their body" the system will use MATLAB to detect people based on thier body and then recognize them from their clothes "us

A filter described by the equation:    y(n) = x(n) + x(n-1) + 0.9 y(n-1) - 0.81 y(n-2) (a) Find the transfer function H(z) for the filter and find the poles and zeros of the fil

how to find absolute value of a number

The purpose of this assignment is to use Matlab/Simulink to analyse and simulate a mathematical model of an electromechanical system. This system comprises two component subsystems

how to wriet program for batch reactor