Question
solve all questions simply by using Matlab
writh all steps here please
1 Normal 1 No Spac.. Heading 1 Heading2 Title Subtitle Subtle Em... Ep Paragraph Styles 7. Write an M-file that creates subpl
0 0
Add a comment Improve this question Transcribed image text
Answer #1

MATLAB Code:

close all
clear
clc

% Problem 7
X = -10:0.01:10;
figure
for n = 1:5
subplot(1,5,n), plot(X, X.^n)
xlabel('X'), ylabel(sprintf('X^%d', n)), title(sprintf('Y = X^%d', n))
end

% Problem 8
t = -6*pi:pi/10:6*pi;
f = sin(t);
for i = 1:length(f)
if f(i) < 0
f(i) = 0;
end
end
figure, plot(t, f), xlabel('t'), ylabel('f(t)'), title('f(t) = sin(t)')

Plots:

1000t-sin(t) 0.1F

Add a comment
Know the answer?
Add Answer to:
solve all questions simply by using Matlab writh all steps here please 1 Normal 1 No Spac.. Heading 1 Heading2 Title Subtitle Subtle Em... Ep Paragraph Styles 7. Write an M-file that creates subpl...
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
  • No Spac... Heading 1 Heading 2 Title Subtitle Subtle Em Paragraph Emo Styles Explain epidemiology and...

    No Spac... Heading 1 Heading 2 Title Subtitle Subtle Em Paragraph Emo Styles Explain epidemiology and social epidemiology. Why are they important to understanding the way health affects different populations? Pick a disease and Pick a population (i.e. school-age children, women of child bearing age, male police officers, etc).and explain.

  • 1 Normal 1 No Spac. Heading 1 Heading 2 Title Subtitle Subtle Em Emphasis in Paragraph...

    1 Normal 1 No Spac. Heading 1 Heading 2 Title Subtitle Subtle Em Emphasis in Paragraph Styles If a fixed asset, such as a computer, were purchased on January 1 for $3,750 with an estimated life of 3 years and a salvage or residual value of $150, the journal entry for monthly expense under straight- line depreciation is Depreciation Expense1,200 Accumulated Depreciation 1,200 Depreciation Expense 100 Accumulated Depreciation 100 Accumulated Depreciation1,200 Depreciation Expense1,200 Accumulated Depreciation 100 Depreciation Expense 100 (Cr)-...

  • nomal No Spac... Heading 1 Paragraph JULLL HDBl AaBbCcDAoBbced Heading 2 Title Subtitle Subtle Em Styles...

    nomal No Spac... Heading 1 Paragraph JULLL HDBl AaBbCcDAoBbced Heading 2 Title Subtitle Subtle Em Styles 1-What RFLP stand for and what RFLP analysis test for? 2-Why do you add sample loading buffer to DNA sample prior to loading sample into agarose gel. 3 In cheek DNA extraction procedure, name two steps that helped to break (lysis) the cheek cells. 4. Would a shorter DNA fragment move faster or slower through agarose gel, why.

  • 1 Normal 1 No Spac... Heading 1 Heading 2 Title Subtitle Subtle Em... EmphasisIn Paragrap Styles...

    1 Normal 1 No Spac... Heading 1 Heading 2 Title Subtitle Subtle Em... EmphasisIn Paragrap Styles 1. What is the third intermediate in the following overall synthesis? 0 он a. b. d. e. CHyI 2. Which intermediate reacts with CHJl in the following synthesis?79 b. C. d. e. not a.-cd 3. What would be the best reaction sequence to make the following ketone? a. cyclohexanone + LDA + CHal + LDA + (CHa)SiCI + (CHs).cal/zncl b. LDA + cyclohexa none...

  • 1 Normal 1 No Spac... Heading 1 Heading 2 Title Subtitle Subtle Em...Emphasis Int Styles 1)...

    1 Normal 1 No Spac... Heading 1 Heading 2 Title Subtitle Subtle Em...Emphasis Int Styles 1) Create a PYHW3 document that will contain your algorithms in flowchart and pseudocode form along with your screen shots of the running program 2) Create the algorithms in both flowchart and pseudocode forms for the following: A. Write a Python function that receives miles driven and gallons of gas used and returns miles per gallon. B. Write a Python program where the main function...

  • Na No Spac. Heading Heading2 Title Subtitle Subtle Em... Emphasis Intense E. Strong Quote Styles ...

    Na No Spac. Heading Heading2 Title Subtitle Subtle Em... Emphasis Intense E. Strong Quote Styles ACCT 2101-Sping 2019 Writing Assignment ETHICS CASE a specialty chain store company that has nine retail stores concentrated in one metropolitan area. the payment of all invoices is centralized in one of the departments Tabitha will manage. Her primary respoesibility is to maintain the company's high credit rating due and to take advantage of all cash discounts. to treasuret, is training Tabitha in her new...

  • solve on paper neatly Emphasis Heading 1 1 Normal Strong Subtitle Title T No Spac... Subtle...

    solve on paper neatly Emphasis Heading 1 1 Normal Strong Subtitle Title T No Spac... Subtle Em... Intense E... Paragraph Styles R2 40 KR 340 kg R R R R M w 200 K2 50 ΚΩ R3 50 K2 Your(s) Vin 4 Yout 1 Fig. 2.1. Fig. 2.2 (A) Recommend a generalized Op Amp amplifier which processes sin wave into a cosine wave. a square wave into a triangular wave, a constant DC signal into a zero-output signal and a...

  • solve all questions simply by using matlab. write all step here please 1Normal 1 No Spac Heading1 Heading 2 DISCUSSION Solve all tasks given below: 1. Consider function f(x) 3.5-0.5x cos(6x) for...

    solve all questions simply by using matlab. write all step here please 1Normal 1 No Spac Heading1 Heading 2 DISCUSSION Solve all tasks given below: 1. Consider function f(x) 3.5-0.5x cos(6x) for the value of x between -2.0 until 4.0. Draw the plot in dash line and in red colour, Label the title and all axes. 2. Consider the following functions for 0sxS pi: x() 10e0.St sin(3t +2) y(t) 7e-04t cos(5t - 3) (a) Draw both graphs on the same...

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