Question
So I have data for the class but how do I plot the data using Octave with (a) a linear vertical scale and (b) a
So I have data for the class but how do I plot the data using Octave with (a) a linear vertical scale and (b) a logarithmic vertical scale (use semilogy). And how would I add on a label? I keep thinking I have the correct code but then I get an error returned.
d(1) = 1; c(1) = 15;
d(2) = 7; c(2) = 35
d(3) = 14; c(3) = 68
d(4) = 21; c(4) = 435
d(5) = 28; c(5) = 4026
d(6) = 35; c(6) = 30335
d(7) = 42; c(7) = 138652
d(8) = 49; c(8) = 334041
d(9) = 56; c(9) = 558642
d(10) = 63; c(10) = 767943
d(11) = 70; c(11) = 986774
d(12) = 77; c(12) = 1191080
d(13) = 84; c(13) = 1378457
d(14) = 91; c(14) = 1544659
d(15) = 98; c(15) = 1709474
d(16) = 105; c(16) = 1862466
d(17) = 112; c(17) = 2019317
d(18) = 119; c(18) = 2176606
d(19) = 126; c(19) = 2372708
d(20) = 133; c(20) = 2648942
d(21) = 140; c(21) = 3013495
d(22) = 147; c(22) = 3441893
d(23) = 154; c(23) = 3929326
d(24) = 161; c(24) = 4422097
d(25) = 168; c(25) = 4879434
d(26) = 175; c(26) = 5273823
d(27) = 182; c(27) = 5656589
d(28) = 189; c(28) = 5973500
d(29) = 196; c(29) = 6277629
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started