Plotting a quarter wave

4 Ansichten (letzte 30 Tage)
Ahmed Saleh
Ahmed Saleh am 20 Okt. 2019
Beantwortet: Image Analyst am 20 Okt. 2019
hey , I have this question that I've tried to do several times and I can't get it , all I can do is a half sin wave but the quarter wave I couldn't do
any suggestions ?

Antworten (1)

Image Analyst
Image Analyst am 20 Okt. 2019
Hint:
x1 = linspace(-2, 0, 200);
x2 = linspace(0, 1, 100);
y1 = 4 * ones(1, 200)
You should be able to figure out how to compute x3, y2, and y3 and then stich them together to get the complete signal.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by