Exploring MATLAB Plotting: Line, Color, and Marker Specifications with a Quadratic Function Graph

Explores MATLAB plotting features.

Ryan Scott
Contributor
5.0
33
5 months ago
Preview (2 of 3 Pages)
100%
Purchase to unlock

Page 1

Exploring MATLAB Plotting: Line, Color, and Marker Specifications with a Quadratic Function Graph - Page 1 preview image

Loading page image...

Exploring MATLAB Plotting: Line, Color, and Marker Specifications with aQuadratic Function Graph1.Question one.Script to plot y=x^2.given x=x = [1:0.05:3].%Script to plot a graph y=x^2.given x= x = [1:0.05:3].x = [1:0.05:3]y=x.^2plot (x,y,'r')2.Questiontwo.a.MatlabLine Specification.'--'Dashed line':'Dotted line'-.'Dashed-dot lineb.Matlab Color Specification.'r'-Red'g'-Green'c'-Cyan'm'-magenta'y'-yellow'k'-black'w'whitec.Matlab Marker Specifiers.'+'-plus sign'o'-circle'*'-asterisk'.'-point'x'-cross'square' or 's'-square'diamond' or 'd'-Diamond3.Question Three.%Script to plot a graph y=x^2.given x= x = [1:0.05:3].x =[1:0.05:3];y=x.^2;plot (x,y,'r')

Page 2

Exploring MATLAB Plotting: Line, Color, and Marker Specifications with a Quadratic Function Graph - Page 2 preview image

Loading page image...

Preview Mode

This document has 3 pages. Sign in to access the full document!

Study Now!

XY-Copilot AI
Unlimited Access
Secure Payment
Instant Access
24/7 Support
Document Chat

Document Details

Related Documents

View all