Question

5. (10 pts) The following table shows data from a
5. (10 pts) The following table shows data from a
Matlab
0 0
Add a comment Improve this question Transcribed image text
Answer #1

To plot the graph of a function, you need to take the following steps −


  • Define x, by specifying the range of values for the variable x, for which the function is to be plotted

  • Define the function, y = f(x)

  • Call the plot command, as plot(x, y)

Matlab Code :

x = [0:10:20:30:40:50:60:70:80:90:100];
y = [100:36.8:13.5:5:1.8:1.7:1.6:1.5:1.4:1.3:1.2];
plot(x, y,'-ko'), xlabel('Time(s)'), ylabel('Concentration(mg/L)'), title('Chemical Reactor Data'),grid on, axis equal

Note : You can also use the other options as per the below table :

Line Style Specifiers You indic ate the line styles, marker types, and colors you want to display, detailed in the following

Color Specifiers Color Red Green Blue Cyan Magenta Yellow Black White Specifier Related Properties This page also describes h

Add a comment
Know the answer?
Add Answer to:
Matlab 5. (10 pts) The following table shows data from a chemical reactor as a reaction...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Radioactive decay occurs when a radioactive isotope ("parent" isotope) gradually transforms into ...

    Radioactive decay occurs when a radioactive isotope ("parent" isotope) gradually transforms into a radiogenic isotope ("daughter" isotope) over time. This process is modeled by the following function: where r is the ratio of parent to daughter atoms, t is time and τΗ is called the halflife. The following table shows several parent-daughter pairs along with their half-lives. Daughter N14 Srs7 Ar4o Pb206 Pb207 Half-Life (years) 5730 48.8 x 109 1.3 x 109 4.6 x 109 0.7 x 10 arent Rbs7...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT