From 2ad887637117ee2703173e29ffb0624405723fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9B=BC=E5=90=9B?= <13475903+liu-manjun@user.noreply.gitee.com> Date: Wed, 20 Sep 2023 07:59:45 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=98=E6=9B=BC=E5=90=9B20191706?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: εˆ˜ζ›Όε› <13475903+liu-manjun@user.noreply.gitee.com> --- ...4\347\274\226\347\250\213\350\257\276.txt.txt" | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 "\345\210\230\346\233\274\345\220\233-20191706-\347\275\221\347\273\234\347\274\226\347\250\213\350\257\276.txt.txt" diff --git "a/\345\210\230\346\233\274\345\220\233-20191706-\347\275\221\347\273\234\347\274\226\347\250\213\350\257\276.txt.txt" "b/\345\210\230\346\233\274\345\220\233-20191706-\347\275\221\347\273\234\347\274\226\347\250\213\350\257\276.txt.txt" new file mode 100644 index 0000000..84b77a5 --- /dev/null +++ "b/\345\210\230\346\233\274\345\220\233-20191706-\347\275\221\347\273\234\347\274\226\347\250\213\350\257\276.txt.txt" @@ -0,0 +1,15 @@ +x1=0:pi/50:2*pi; +x2=0:pi/50:2*pi; +s=1./(cos(x1)+eps); +c=1./(sin(x2)+eps); +subplot(2,1,1); +plot(x1,s,'r-.'); +title('sec(x)'); +xlabel('X'); +ylabel('Y'); +subplot(2,1,2); +plot(x2,c,'b-'); +title('csc(x)'); +axis([0,2*pi,-200,200]); +xlabel('X'); +ylabel('Y'); -- Gitee