This document discusses plotting data through MATLAB and Excel. In MATLAB, it shows how to generate time and velocity data, plot the data, and label the plot. It then discusses various plot customization options. For Excel, it outlines entering data, using formulas to calculate values, and inserting and customizing a line chart to plot the data, including labeling axes and series. The goal is to observe and identify the roots of the plotted function.
This document discusses plotting data through MATLAB and Excel. In MATLAB, it shows how to generate time and velocity data, plot the data, and label the plot. It then discusses various plot customization options. For Excel, it outlines entering data, using formulas to calculate values, and inserting and customizing a line chart to plot the data, including labeling axes and series. The goal is to observe and identify the roots of the plotted function.
>>v = ((g*m)/cd)*(1-exp(-cd/m)*t); v= .. >>plot(t,v) Go to Insert and label the title and axis or type the following statement in command window >>title(Plot of v versus t) >>xlabel(values of t) >>ylabel(value of v) Go to plot tools icon, double click the x-axis perform the required job such as the grid, shape of each data point.
Or use the following statement in command
window. >>grid >>plot(t,v,o) >>plot(t,v,t,v,x) PLOTTING THROUGH EXCEL
Introduce data for t and v in the EXCEL worksheet.
To introduce series of number to a certain format
through EXCEL.
1. Introduce the first 2 numbers according to the desired
format. 2. Highlight the 2 numbers. 3. Get the + sign on the right hand side at the end of the 2 numbers. 4. Drag the + sign and highlight the cell you want the number to appear. To do calculation in EXCEL worksheet .
1. Type = sign followed by the desired mathematical expression
suitable for EXCEL in the cell where the calculation should be placed. 2. To copy the mathematical formula to the other cells is by highlighting the formula, get the + sign at the end of the right hand side of the cell, drag and highlighting the cells where the formula should be copied. To plot the chart in EXCEL worksheet .
1. Insert the chart and choose the line type.
2. Right click the chart and select data. 3. Click Add of the Legend Series . 4. Edit Series go to Series Name (label the series) and Series Value (highlight the data series at the worksheet to be plotted as y axis). 5. Click Edit of the Horizontal Categories and highlight the data of the x-axis in the worksheet. 6. Click OK. 7. Observed where the function intersect the x-axis where roots of the function located.