Multiple Curves on the Same Plot Y-axis sin(x) x\textsuperscript{2} - 3x + 2 1 / (1 + e\textsuperscript{x}) X-axis
Added by Mariano P.
Close
Step 1
For example, x = -pi:0.1:pi to cover the range of -π to π with a step size of 0.1. Show more…
Show all steps
Your feedback will help us improve your experience
Carson Merrill and 56 other Physics 101 Mechanics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Carson M.
Plotting With -20 < x < 20 and 200 linearly spaced elements, plot the following functions: y = -10x - cos(x)x^3 - 200 t = sin^2(x) Create a mesh using 60 elements for -10 < x < 10, and 30 elements for -5 < y < 5. Plot 3D graphs for the following functions: z = x/5 + y^2/9 - 10xy v = cos^2(x) sin^2(y) Include axis labels and titles. Show change of color of the lines (2D) and the surfaces (3D); use any color. Include grid lines. All plots should be on separate graphs (4 figures in total). Bonus: Generate a new figure containing the 4 graphs as subplots.
Sri K.
Given two lines with formulas as: Y1=2*x1+1 Y2=X2+2 Write a MATLAB code to plot x vs y, where x has a range from 0 seconds to 10 with 0.2 intervals. Change the color of your plot to blue and red. Provide a descriptive title of your plot. Label your x and y-axis. Find intersection point of two lines: x = ? y = ?
Recommended Textbooks
University Physics with Modern Physics
Physics: Principles with Applications
Fundamentals of Physics
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD