Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

EXERCISES 1. Working with binary Create a matrix S with its columns cr ated from

ID: 3780403 • Letter: E

Question

EXERCISES 1. Working with binary Create a matrix S with its columns cr ated from the terms in the sine series: as a First create a column vector a between 0 and 2T with the command x lin space (0,2 pi ,101)'. Now compute A [x -x. 3/6 x. 5/120 -x. T/factorial (7)] Save matrix A and vector r in a Mat-file. Clear all variables from the workspace. pane and then double-click Select the Mat-file in the Current Directory pane below the directo on the variable r visible in the file contents pane to load r in the workspace. This action is equivalent to typing load Mat file x. Double-click on the variable z visible in the workspace pane to open the Variable Editor and inspect the entries of z. You can edit any value if you wish. Plot sin (r) with the command plot (x,sin(x)) grid, hold on. Now load variable A from the Mat-file and plot A(: 1), A(:,1) +A(:,2), A( ,1) +A(: ,2) +A (3 and sum (A,2) on the existing graph. Adjust the axes with the command axis (CO 2 pi -2 2]. You can compare the difference in sin (r) and its series representation with increasing terms (up to the fourth term) on this graph. Save this plot as a JPEG. You can do this with the command print -djpeg sineseriesplot.jpeg or by clicking on File Save As... and choosing JPEG as the file format. (We will use this image in the nex exercise, pre wil com

Explanation / Answer

Matlab is a software to implement mathematical functions and say, numerical funtions . It was developed by Mathworks. It is also used to practical implement the digital images.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote