Possible Incorrect Final Angle (`270°` Instead of `330°`) in Section 8.17.1 (Pages 297–298)

Open Beginner friendly
#243 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
75/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
matlab
Domain
documentation

Research direction

Find the text for Section 8.17.1 (Exercise 8.25) on pages 297–298 in the book’s source files. Correct both references to the final angle from 270° to 330°, then check that the displayed text matches the 12 angles spaced 30° apart from 0° through 330°.

Written by the indexing model from the issue text.

Description

Dear Professors,

While reviewing Section 8.17.1 (compassplot, Exercise 8.25) on pages 297–298, I noticed a small mathematical typo in the text describing the polar angles.

image
  • On page 297 (above line 3), the text states:

    "The bivariate series has 12 elements: row 1 at angle $0^\circ$, row 2 at $30^\circ$, ..., row 12 at $270^\circ$. Create the angle vector in radians from $0$ to $2\pi - \pi/6$ in steps of $\pi/6$"

  • On page 298 (above line 5), it repeats:

    "Finally, label the ticks (default at $0^\circ, 30^\circ, \dots, \mathbf{270^\circ}$)"

Since there are 12 elements spaced by $\pi/6 = 30^\circ$ starting at $0^\circ$, the 12th angle ($2\pi - \pi/6 = 11\pi/6$) is $330^\circ$, not $270^\circ$ (which corresponds to the 10th element, October).

Thanks for the time, as always

Dominant language
MATLAB
Stars
30
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UniprJRC/DSwithMATLAB

All issues in UniprJRC/DSwithMATLAB

Similar issues

More MATLAB issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.