{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

BARNAME SAZI COM - ‫ﺑﺎﺳﻤﻪ ﺗﻌﺎﻟﻲ‬...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ‫ﺑﺎﺳﻤﻪ ﺗﻌﺎﻟﻲ‬ ‫وﻗﺖ اﻣﺘﺤﺎن ... دﻗﻴﻘﻪ‬ ‫ﻧﺎم اﺳﺘﺎد:‬ ‫ﻫﻤﺖآﺑﺎدي‬ ‫ﻣﻴﺎن ﺗﺮم ﺑﺮﻧﺎﻣﻪ ﺳﺎزي ﻛﺎﻣﭙﻴﻮﺗﺮي‬ ‫ﺷﻤﺎره و ﻛﺪ داﻧﺸﺠﻮﺋﻲ:‬ ‫ﻧﺎم و ﻧﺎم ﺧﺎﻧﻮادﮔﻲ:‬ ‫ﺣﺘﻤﺎٌ ﺑﺨﻮاﻧﻴﺪ‬ ‫1‬ ‫ در ﺟﻠﻮي دﺳﺘﻮرﻫﺎي ﭘﻨﺠﺮه ﻓﺮﻣﺎن ﻋﻼﻣﺖ >> آﻣﺪه،‬‫ ﺳﻄﺮﻫﺎﺋﻲ ﻛﻪ اﻳﻦ ﻋﻼﻣﺖ را ﻧﺪارﻧﺪ، در ام- ﻓﺎﻳﻞ ﻧﻮﺷﺘﻪ و ﺳﭙﺲ اﺟﺮا ﺷﺪهاﻧﺪ.‬‫- در ﺗﻤﺎم ﺑﺮﻧﺎﻣﻪ ﻫﺎ ‪ echo off‬اﺳﺖ.‬ ‫2‬ ‫ در ﺑﻴﺸﺘﺮ ﺳﻮاﻻت، ﺧﺮوﺟﻲ )در ﭘﻨﺠﺮه ﻓﺮﻣﺎن ﻳﺎ در ﭘﻨﺠﺮه ﮔﺮاف( را ﭘﻴﺪا ﻛﻨﻴﺪ )ﺑﻪ ﻛﻠﻤﻪ ﺧﺮوﺟﻲ ﺗﻮﺟﻪ ﻛﻨﻴﺪ(.‬‫ در ﺳﻮاﻻﺗﻲ ﻛﻪ ﺗﻮﺿﻴﺢ دارﻧﺪ، ﺑﻪ ﺗﻮﺿﻴﺢ ﺗﻮﺟﻪ ﻓﺮﻣﺎﺋﻴﺪ )ﺑﻪ ﻛﻠﻤﻪ ﺗﻮﺿﻴﺤﻲ ﺗﻮﺟﻪ ﻛﻨﻴﺪ(.‬‫- در ﺳﺆاﻻﺗﻲ ﻛﻪ ﻧﻘﻄﻪﭼﻴﻦ دارﻧﺪ ﻣﻨﺎﺳﺐﺗﺮﻳﻦ ﻋﺒﺎرت را ﭘﻴﺪا ﻛﻨﻴﺪ )ﺑﻪ ﻛﻠﻤﻪ ﻧﻘﻄﻪﭼﻴﻦ ﺗﻮﺟﻪ ﻛﻨﻴﺪ(.‬ ‫3‬ ‫- اﮔﺮ در ﻳﻚ ﺳﺆال ﻣﺘﻐﻴﺮ ﻳﺎ آراﻳﻪ ﻳﺎ ﺧﺮوﺟﻲ ﺗﻌﺮﻳﻒ ﻧﺸﺪه ﺑﺎﺷﻨﺪ. ﺑﻪ ﺗﻌﺮﻳﻒ آن در ﻧﺰدﻳﻚﺗﺮﻳﻦ ﺳﺆال ﻗﺒﻠﻲ ﻣﺮاﺟﻌﻪ ﻛﻨﻴﺪ.‬ ‫4‬ ‫در ﺧﺮوﺟﻲﻫﺎ، ﺑﻪ ﺧﺎﻃﺮ ﺻﺮﻓﻪﺟﻮﺋﻲ در ﻓﻀﺎي ﻛﺎﻏﺬ ارﻗﺎم ﻏﻴﺮﻻزم ﺑﻌﺪاز ﻧﻘﻄﻪ- ﻣﻤﻴﺰ ﺣﺬف ﺷﺪهاﻧﺪ، ﻣﮕﺮ در ﻣﻮاردي ﻛﻪ ﺳﺆال ﺑﺮ‬ ‫روي ﺗﻌﺪاد ارﻗﺎم ﺗﺄﻛﻴﺪ داﺷﺘﻪ اﺳﺖ.‬ ‫5‬ ‫ اﮔﺮ ﭘﻴﻐﺎم ﺧﻄﺎ، ﭘﺎﺳﺦ ﺻﺤﻴﺢ ﻳﻚ ﺳﺆال ﺑﺎﺷﺪ، ﮔﺰﻳﻨﻪ ‪ D‬را اﻧﺘﺨﺎب ﻛﻨﻴﺪ.‬‫ اﮔﺮ اﺣﺴﺎس ﻛﺮدﻳﺪ اﺷﺘﺒﺎﻫﻲ در ﺳﺆال ﻫﺴﺖ، ﻳﺎ ﭘﺎﺳﺦ ﺻﺤﻴﺢ در ﺑﻴﻦ ﮔﺰﻳﻨﻪﻫﺎ ﭘﻴﺪا ﻧﻤﻲﺷﻮد، ﻣﻘﺎﺑﻞ ﺷﻤﺎره ﺳﺆال ﻳﺎدداﺷﺖ ﻛﺮده، و‬‫ﺑﻪ ﻣﺮاﻗﺐ اﻃﻼع دﻫﻴﺪ.‬ ‫در ﭘﺎﻳﺎن اﻣﺘﺤﺎن ﻛﻠﻴﻪ ﺑﺮﮔﻪﻫﺎ را ﻣﺴﺘﺮد ﻓﺮﻣﺎﺋﻴﺪ‬ ‫ﭘﺎﺳﺦ ﻏﻠﻂ ﻧﻤﺮه ﻣﻨﻔﻲ دارد‬ ‫1‬ ‫ﻛﺪام ﻳﻚ را ﻧﻤﻲ ﺗﻮان در ﺟﻮاب )(‪ input‬وارد ﻛﺮد. ﮔﺰﻳﻨﻪ ﻧﺎدرﺳﺖ را ﭘﻴﺪا ﻛﻨﻴﺪ.‬ ‫1(‬ ‫)‪A‬‬ ‫ﻳﻚ ﻣﺎﺗﺮﻳﺲ از ﻣﺘﻐﻴﺮﻫﺎي‬ ‫ﺗﻌﺮﻳﻒ ﻧﺸﺪه‬ ‫)‪B‬‬ ‫ﻳﻚ رﺷﺘﻪ از ﻛﺎراﻛﺘﺮﻫﺎ‬ ‫)‪C‬‬ ‫ﻳﻚ ﻣﺎﺗﺮﻳﺲ ﻋﺪدي‬ ‫)‪D‬‬ ‫ﻳﻚ ﻓﺮﻣﻮل ﺑﺎ ﻣﻘﺪار‬ ‫ﻣﺘﻐﻴﺮﻫﺎي ﻣﻌﻴﻦ‬ ‫ﺗﻮﺿﻴﺤﻲ‬ ‫ﺑﺮاي ﺑﺎز ﻛﺮدن ﻓﺎﻳﻞ ﻣﺘﻦِ ‪ lgt.txt‬ﻛﻪ داده ﻫﺎ را در ﻳﻚ ﻣﺎﺗﺮﻳﺲ ﻧﮕﻪداري ﻛﻨﺪ ﻛﺪام دﺳﺘﻮر ﺑﻪ ﻛﺎر ﻣﻲرود.‬ ‫2(‬ ‫)‪A‬‬ ‫;)'‪fprintf('lgt.txt','w‬‬ ‫)‪B‬‬ ‫;)'‪load('lgt.txt','w‬‬ ‫)‪C‬‬ ‫;)'‪fopen('lgt.txt','w‬‬ ‫;]6 4 2[ = ‪>> A‬‬ ‫;‪>> B(:,:,1) = A‬‬ ‫2/‪>> B(:,:,2) = A‬‬ ‫)‪D‬‬ ‫;)'‪fclose('lgt.txt','w‬‬ ‫ﺗﻮﺿﻴﺤﻲ، ﻧﻘﻄﻪﭼﻴﻦ‬ ‫3(‬ ‫)‪B‬‬ ‫2 = )1,:,:(‪B‬‬ ‫1 = )2,:,:(‪B‬‬ ‫4‬ ‫2‬ ‫6‬ ‫3‬ ‫)‪A‬‬ ‫6 4 2 = )1,:,:(‪B‬‬ ‫)‪C‬‬ ‫2 = 1‪B‬‬ ‫1 = 2‪B‬‬ ‫4‬ ‫2‬ ‫6‬ ‫3‬ ‫)‪D‬‬ ‫2=‪B‬‬ ‫1‬ ‫4‬ ‫2‬ ‫6‬ ‫3‬ ‫ﺧﺮوﺟﻲ‬ ‫;4 :1 = 1‪>> r‬‬ ‫)2 > 1‪>> disp(r‬‬ ‫0 0 0 1 )‪A‬‬ ‫4(‬ ‫1 )‪B‬‬ ‫1‬ ‫1‬ ‫1‬ ‫1 )‪C‬‬ ‫1‬ ‫1‬ ‫0‬ ‫0 )‪D‬‬ ‫0‬ ‫1‬ ‫1‬ ‫ﺧﺮوﺟﻲ‬ ‫ﺑﺎ اﺟﺮاي دﺳﺘﻮرات زﻳﺮ ﻛﺪام ﻣﻨﺤﻨﻲ رﺳﻢ ﻣﻲﺷﻮد.‬ ‫;)‪>> tet = linspace(0, 2*pi‬‬ ‫))‪>> plot(tet,exp(j*tet‬‬ ‫5(‬ ‫)‪A‬‬ ‫)‪ B‬ﺳﻴﻨﻮﺳﻲ‬ ‫)‪ C‬داﻳﺮه‬ ‫)‪ D‬ﻛﺴﻴﻨﻮﺳﻲ‬ ‫ﻧﻤﺎﺋﻲ‬ ‫ﺗﻮﺿﻴﺤﻲ، ﺧﺮوﺟﻲ‬ ‫ﭘﺲ از اﺟﺮاي دﺳﺘﻮرات زﻳﺮ ﻛﺪام دﺳﺘﻮر ﺑﺎﻋﺚ ﺗﺮﺳﻴﻢ اﻳﻦ ﮔﺮاف ﺷﺪه اﺳﺖ.‬ ‫>>‬ ‫>>‬ ‫>>‬ ‫>>‬ ‫;)2/‪x = linspace(-3*pi/2,3*pi‬‬ ‫;)‪y = tan(x‬‬ ‫;)6‪y1 = y .* (abs(y) < 1e‬‬ ‫;')‪yt = 'tan(x‬‬ ‫6(‬ ‫01‬ ‫5‬ ‫0‬ ‫5-‬ ‫01-‬ ‫)‪A‬‬ ‫)‪B‬‬ ‫)‪C‬‬ ‫)‪D‬‬ ‫ﺗﻮﺿﻴﺤﻲ‬ ‫)‪plot(x,yt) plot(x,tan(x)) plot(x,y1) plot(x,y‬‬ ‫2‬ ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern