Question

Part a: Write a Matlab code that generate Exponential Function. Part b Write a Matlab code...

Part a:

Write a Matlab code that generate Exponential Function.

Part b

Write a Matlab code that generate sinusoidal Function.

Part c

Write a Matlab code that generate Unit Ramp delay (shift) function

0 0
Add a comment Improve this question Transcribed image text
Answer #1

clc;
clear all;
close all;
t=0:0.0002:0.06;
f=50;
w=2*pi*f;
X1=sin(w*t);
plot(t,X1);

output:

t=0:0.01:10;
F=exp(-t);
plot(t,F); %%exponential plot%%

output:

t=0:0.01:30;
F1=(t-1).*heaviside(t-1);
plot(t,F1) %%ramp with delay%%

output:

Add a comment
Know the answer?
Add Answer to:
Part a: Write a Matlab code that generate Exponential Function. Part b Write a Matlab code...
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
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