댓글 수: 1

Rik
Rik 2020년 5월 6일
Have a read here and here. It will greatly improve your chances of getting an answer.
This doesn't seem to be very complicated. What did you try so far?

댓글을 달려면 로그인하십시오.

 채택된 답변

David Hill
David Hill 2020년 5월 6일

0 개 추천

y=-sin(x/15)*1000./((x-90).^2+(y-110).^2+60)+sin(x/30)*500./((x-55).^2+(y-55).^2+30)+80./(12+abs(x-15))+60./(12+abs(x-20))+80./(12+abs(x-25));

댓글 수: 1

Rik
Rik 2020년 5월 6일
To improve readability I would suggest a line break after every term:
y=-sin(x/15)*1000./((x-90).^2+(y-110).^2+60) ...
+sin(x/30)*500./((x-55).^2+(y-55).^2+30) ...
+80./(12+abs(x-15)) ...
+60./(12+abs(x-20)) ...
+80./(12+abs(x-25));

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

질문:

2020년 5월 6일

댓글:

Rik
2020년 5월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by