1. Create a new script in Octave Editor. 2. Save script file as octave_ prac1.m 3. Type a comment (% or #) and your first name and last name 4. Type a comment (% or #) and your student number 5. Set...


1. Create a new script in Octave Editor.<br>2. Save script file as octave_ prac1.m<br>3. Type a comment (% or #) and your first name and last name<br>4. Type a comment (% or #) and your student number<br>5. Set the range of the 'x'-axis to be 0 to 180 or 2pi. Use a linear spacing of 0.1<br>6. Plot 3 graphs on the same figure: sin(x), 1 + sin(x), cos(x)<br>7. Add labels: x-axis and y-axis<br>8. Add a legend<br>9. Add a Title<br>10. Use different colours for the three graphs<br>11. Use different linestyles for the three graphs<br>

Extracted text: 1. Create a new script in Octave Editor. 2. Save script file as octave_ prac1.m 3. Type a comment (% or #) and your first name and last name 4. Type a comment (% or #) and your student number 5. Set the range of the 'x'-axis to be 0 to 180 or 2pi. Use a linear spacing of 0.1 6. Plot 3 graphs on the same figure: sin(x), 1 + sin(x), cos(x) 7. Add labels: x-axis and y-axis 8. Add a legend 9. Add a Title 10. Use different colours for the three graphs 11. Use different linestyles for the three graphs

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here