HOW TO PLOT A GRAPH WITH A FUNCTION AND A CONSTANT
조회 수: 6 (최근 30일)
이전 댓글 표시
Can anybody please help me draw this graph using matlab to look like the figure shown bellow.
Dw<1.1 THEN Hu=cos(Dw)
Dw>1.1 Hu=.45

댓글 수: 1
Rik
2022년 6월 3일
I recovered the removed content from the Google cache (something which anyone can do). Editing away your question is very rude. Someone spent time reading your question, understanding your issue, figuring out the solution, and writing an answer. Now you repay that kindness by ensuring that the next person with a similar question can't benefit from this answer.
An archive of this page will be available on the Wayback Machine
답변 (1개)
Star Strider
2022년 5월 31일
I believe the 0.45 value should actually be 0.35 —
syms t
Dw = 1.1;
Hu1 = cos(Dw*t)
Hu2 = 0.35;
figure
fplot(Hu1,[0 1.1])
hold on
fplot(Hu2, [1.1 2])
hold off
grid
ylim([0 1])
.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

