{"id":256,"date":"2013-07-03T14:35:24","date_gmt":"2013-07-03T11:05:24","guid":{"rendered":"http:\/\/vua.nadiran.com\/?p=256"},"modified":"2013-07-07T12:04:30","modified_gmt":"2013-07-07T08:34:30","slug":"%d9%86%da%a9%d8%a7%d8%aa%db%8c-%d8%af%d8%b1%d8%a8%d8%a7%d8%b1%d9%87-%d9%85%d8%aa%d9%84%d8%a8","status":"publish","type":"post","link":"https:\/\/vua.nadiran.com\/?p=256","title":{"rendered":"\u0646\u06a9\u0627\u062a\u06cc \u062f\u0631\u0628\u0627\u0631\u0647 \u0645\u062a\u0644\u0628"},"content":{"rendered":"<h3 style=\"text-align: center;\"><span style=\"color: #ff0000;\">\u0646\u06a9\u0627\u062a\u06cc \u062f\u0631\u0628\u0627\u0631\u0647 \u06a9\u0627\u0631 \u0628\u0627 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0645\u062a\u0644\u0628<\/span><\/h3>\n<h3>\u0631\u0648\u0634 \u0627\u0648\u0644 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u0646 \u0628\u0631\u062f\u0627\u0631\u0647\u0627<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb v=[1 2 3]<\/h3>\n<h3 style=\"direction: ltr;\">v =<\/h3>\n<h3 style=\"direction: ltr;\">\u06f1 \u06f2 \u06f3<\/h3>\n<h3 style=\"direction: ltr;\"><\/h3>\n<h3 style=\"direction: ltr;\">\u00bb w=[&#8216;abcd&#8217; &#8216;1234&#8217;]<\/h3>\n<h3 style=\"direction: ltr;\">w =<\/h3>\n<h3 style=\"direction: ltr;\">abcd1234<\/h3>\n<h3><\/h3>\n<ul>\n<li>\n<h3><span style=\"font-size: 1.5em; font-weight: normal;\">\u0628\u0631\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0628\u0631\u062f\u0627\u0631\u0647\u0627\u06cc \u0639\u062f\u062f\u06cc \u062d\u062a\u0645\u0627&#8221; \u0628\u0627\u06cc\u062f \u0627\u0632 \u06a9\u0631\u0648\u0634\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f \u0648\u0644\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0628\u0631\u0627\u06cc \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u062d\u0631\u0641\u06cc \u0627\u0644\u0632\u0627\u0645\u06cc \u0646\u06cc\u0633\u062a.<\/span><\/h3>\n<\/li>\n<li><span style=\"font-size: 1.5em;\">\u00a0\u062d\u0627\u0644\u062a \u062e\u0627\u0635\u06cc \u0627\u0632 \u0628\u0631\u062f\u0627\u0631 \u0639\u0628\u0627\u0631\u062a\u0633\u062a \u0627\u0632 \u0628\u0631\u062f\u0627\u0631 \u062a\u0647\u06cc \u06a9\u0647 \u0628\u0647 \u0635\u0648\u0631\u062a [ ] \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc \u06af\u0631\u062f\u062f.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><\/h3>\n<h3>\u0631\u0648\u0634 \u062f\u0648\u0645 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u0646 \u0628\u0631\u062f\u0627\u0631\u0647\u0627<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb x = 0:4<\/h3>\n<h3 style=\"direction: ltr;\">\u00a0x=<\/h3>\n<h3 style=\"direction: ltr;\">\u06f0 \u06f1 \u06f2 \u06f3 \u06f4<\/h3>\n<h3 style=\"direction: ltr;\"><\/h3>\n<h3 style=\"direction: ltr;\">\u00bb x = (0:0.2:1)<\/h3>\n<h3 style=\"direction: ltr;\">x =<\/h3>\n<h3 style=\"direction: ltr;\">\u06f0\u00a0 \u06f0\u066b\u06f2\u00a0 \u06f0\u066b\u06f4\u00a0 \u06f0\u066b\u06f6\u00a0 \u06f0\u066b\u06f8\u00a0 \u06f1<\/h3>\n<h3 style=\"direction: ltr;\"><a href=\"http:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-function.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-259\" alt=\"matlab-function\" src=\"http:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-function.png\" width=\"561\" height=\"525\" srcset=\"https:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-function.png 561w, https:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-function-300x280.png 300w\" sizes=\"(max-width: 561px) 100vw, 561px\" \/><\/a><\/h3>\n<h3 style=\"direction: rtl; text-align: right;\"><strong>\u0639\u0645\u0644\u06cc\u0627\u062a \u0645\u0627\u062a\u0631\u06cc\u0633\u06cc \u0631\u0648\u06cc \u0622\u0631\u0627\u06cc\u0647 \u0647\u0627<\/strong><\/h3>\n<h3>\u062f\u0631 MATLAB \u0645\u06cc \u062a\u0648\u0627\u0646 \u062f\u0648 \u0646\u0648\u0639 \u0639\u0645\u0644\u06cc\u0627\u062a \u0631\u0648\u06cc \u0622\u0631\u0627\u06cc\u0647\u200c\u0647\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f \u06a9\u0647 \u0628\u0647 \u0622\u0646\u0647\u0627 \u0639\u0645\u0644\u06cc\u0627\u062a \u0645\u0627\u062a\u0631\u06cc\u0633\u06cc \u0648 \u0639\u0645\u0644\u06cc\u0627\u062a \u0639\u0636\u0648 \u0628\u0647 \u0639\u0636\u0648 \u0645\u06cc \u06af\u0648\u06cc\u0646\u062f.<\/h3>\n<h3>\u0639\u0645\u0644\u06cc\u0627\u062a \u0645\u0627\u062a\u0631\u06cc\u0633\u06cc \u0634\u0627\u0645\u0644 \u0645\u062d\u0627\u0633\u0628\u0647 \u062a\u0631\u0627\u0646\u0647\u0627\u062f\u0647\u060c \u0636\u0631\u0628 \u0645\u0627\u062a\u0631\u06cc\u0633\u06cc\u060c \u062c\u0645\u0639 \u0648 \u062a\u0641\u0631\u06cc\u0642 \u0622\u0631\u0627\u06cc\u0647 \u0647\u0627\u06cc \u0647\u0645 \u0627\u0646\u062f\u0627\u0632\u0647 \u0648 \u063a\u06cc\u0631\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb m=[1 2 3<\/h3>\n<h3 style=\"direction: ltr;\">\u06f4 \u06f5 \u06f6];<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb \u06f2*m<\/h3>\n<h3 style=\"direction: ltr;\">ans =<\/h3>\n<h3 style=\"direction: ltr;\">\u06f2 \u06f4 \u06f6<\/h3>\n<h3 style=\"direction: ltr;\">\u06f8 \u06f1\u06f0 \u06f1\u06f4<\/h3>\n<h3 style=\"direction: ltr;\">\u06cc\u0627<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb m+1<\/h3>\n<h3 style=\"direction: ltr;\">ans =<\/h3>\n<h3 style=\"direction: ltr;\">\u06f2 \u06f3 \u06f4<\/h3>\n<h3 style=\"direction: ltr;\">\u06f5 \u06f6 \u06f8<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb r=rand(2,4)<\/h3>\n<h3 style=\"direction: ltr;\">r =<\/h3>\n<h3 style=\"direction: ltr;\">\u06f0\u066b\u06f9\u06f5\u06f0\u06f1 \u06f0\u066b\u06f6\u06f0\u06f6\u06f8 \u06f0\u066b\u06f8\u06f9\u06f1\u06f3 \u06f0\u066b\u06f4\u06f5\u06f6\u06f5<\/h3>\n<h3 style=\"direction: ltr;\">\u06f0\u066b\u06f2\u06f3\u06f1\u06f1 \u06f0\u066b\u06f4\u06f8\u06f6\u06f0 \u06f0\u066b\u06f7\u06f6\u06f2\u06f1 \u06f0\u066b\u06f0\u06f1\u06f8\u06f5<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb r&#8217;<\/h3>\n<h3 style=\"direction: ltr;\">ans =<\/h3>\n<h3 style=\"direction: ltr;\">\u06f0\u066b\u06f9\u06f5\u06f0\u06f1 \u06f0\u066b\u06f2\u06f3\u06f1\u06f1<\/h3>\n<h3 style=\"direction: ltr;\">\u06f0\u066b\u06f6\u06f0\u06f6\u06f8 \u06f0\u066b\u06f4\u06f8\u06f6\u06f0<\/h3>\n<h3 style=\"direction: ltr;\">\u06f0\u066b\u06f8\u06f9\u06f1\u06f3 \u06f0\u066b\u06f7\u06f6\u06f2\u06f1<\/h3>\n<h3 style=\"direction: ltr;\">\u06f0\u066b\u06f4\u06f5\u06f6\u06f5 \u06f0\u066b\u06f0\u06f1\u06f8\u06f5<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb r=rand(2,4);<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb v=[1:4];<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb r*v&#8217;<\/h3>\n<h3 style=\"direction: ltr;\">ans =<\/h3>\n<h3 style=\"direction: ltr;\">\u06f6\u066b\u06f6\u06f6\u06f3\u06f6<\/h3>\n<h3 style=\"direction: ltr;\">\u06f3\u066b\u06f5\u06f6\u06f3\u06f4<\/h3>\n<h3 style=\"direction: ltr;\"><strong>\u0686\u0646\u062f\u062c\u0645\u0644\u0647\u200c\u0627\u06cc\u200c\u0647\u0627<\/strong><\/h3>\n<h3>\u06cc\u06a9 \u0686\u0646\u062f \u062c\u0645\u0644\u0647\u200c\u0627\u06cc \u062f\u0631 MATLAB \u0628\u0647 \u0635\u0648\u0631\u062a \u06cc\u06a9 \u0628\u0631\u062f\u0627\u0631 \u0633\u0637\u0631\u06cc \u06a9\u0647 \u0645\u0648\u0644\u0641\u0647 \u0647\u0627\u06cc \u0622\u0646 \u0636\u0631\u0627\u06cc\u0628 \u0686\u0646\u062f\u062c\u0645\u0644\u0647 \u0627\u06cc \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0646\u0632\u0648\u0644\u06cc \u0647\u0633\u062a\u0646\u062f \u0645\u0639\u0631\u0641\u06cc \u0645\u06cc \u0634\u0648\u062f.<\/h3>\n<h3>\u0627\u06cc\u0646 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0642\u0627\u0628\u0644\u06cc\u062a \u0645\u062d\u0627\u0633\u0628\u0647\u200c\u06cc \u0631\u06cc\u0634\u0647 \u0647\u0627\u06cc \u06cc\u06a9 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc\u060c \u0645\u062d\u0627\u0633\u0628\u0647 \u0645\u0642\u062f\u0627\u0631 \u06cc\u06a9 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc\u060c \u0636\u0631\u0628 \u0648 \u062a\u0642\u0633\u06cc\u0645 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc\u0647\u0627\u060c \u0645\u0634\u062a\u0642 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc \u0648 \u0646\u06cc\u0632 \u0645\u0646\u062d\u0646\u06cc \u0631\u06af\u0631\u0633\u06cc\u0648\u0646 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc \u0631\u0627 \u0645\u062d\u0627\u0633\u0628\u0647 \u0646\u0645\u0627\u06cc\u062f.<\/h3>\n<h3><\/h3>\n<h3>\u062a\u0639\u0631\u06cc\u0641 \u0686\u0646\u062f\u062c\u0645\u0644\u0647\u200c\u0627\u06cc\u200c\u0647\u0627:<\/h3>\n<h3>\u0645\u062b\u0627\u0644:\u00a0\u0628\u0631\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0686\u0646\u062f\u062c\u0645\u0644\u0647 \u0627\u06cc<\/h3>\n<h3 style=\"direction: ltr;\">p(x) = x\u0663 -\u0662x +5<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb p=[1 0 -2 5];<\/h3>\n<h3>\u0631\u06cc\u0634\u0647 \u0647\u0627\u06cc \u06cc\u06a9 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc:<\/h3>\n<h3>\u0631\u06cc\u0634\u0647 \u0647\u0627\u06cc \u06cc\u06a9 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0628\u062f\u0633\u062a \u0622\u0648\u0631\u062f:<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb r=roots(p)<\/h3>\n<h3 style=\"direction: ltr;\">r =<\/h3>\n<h3 style=\"direction: ltr;\">-\u06f2\u066b\u06f0\u06f9\u06f4\u06f6<\/h3>\n<h3 style=\"direction: ltr;\">\u06f1\u066b\u06f0\u06f4\u06f7\u06f3 + \u06f1\u066b\u06f1\u06f3\u06f5\u06f9i<\/h3>\n<h3 style=\"direction: ltr;\">\u06f1\u066b\u06f0\u06f4\u06f7\u06f3 &#8211; \u06f1\u066b\u06f1\u06f3\u06f5\u06f9i<\/h3>\n<h3>\u062a\u0627\u0628\u0639 polyval \u00a0\u0645\u0642\u062f\u0627\u0631 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc \u0631\u0627 \u062f\u0631 \u0647\u0631 \u0646\u0642\u0637\u0647 \u0645\u062d\u0627\u0633\u0628\u0647 \u0645\u06cc\u200c\u0646\u0645\u0627\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0645\u0642\u062f\u0627\u0631 ( \u06f5p( \u0628\u0647 \u0637\u0631\u06cc\u0642 \u0632\u06cc\u0631 \u0645\u062d\u0627\u0633\u0628\u0647 \u0645\u06cc \u06af\u0631\u062f\u062f:<\/h3>\n<h3 style=\"direction: ltr;\">\u00a0\u00bb polyval(p,5)<\/h3>\n<h3 style=\"direction: ltr;\">ans =<\/h3>\n<h3 style=\"direction: ltr;\">\u06f1\u06f2\u06f0<\/h3>\n<h3>\u0636\u0631\u0628 \u0648 \u062a\u0642\u0633\u06cc\u0645 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc\u0647\u0627<\/h3>\n<h3>\u0628\u0631\u0627\u06cc \u0636\u0631\u0628 \u0648 \u062a\u0642\u0633\u06cc\u0645 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc\u0647\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0648\u0627\u0628\u0639 conv \u0648 deconv \u0631\u0627 \u0628\u06a9\u0627\u0631 \u0628\u0628\u0631\u06cc\u062f.<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb a=[1 1 1]; b=[1 -1];<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb c=conv(a,b)<\/h3>\n<h3 style=\"direction: ltr;\">c =<\/h3>\n<h3 style=\"direction: ltr;\">\u06f1 \u06f0 \u06f0 -\u06f1<\/h3>\n<h3>\u0645\u0634\u062a\u0642 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc<\/h3>\n<h3>\u0645\u0634\u062a\u0642 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0628\u06a9\u0627\u0631 \u0628\u0631\u062f\u0646 \u062a\u0627\u0628\u0639 polyder \u0645\u062d\u0627\u0633\u0628\u0647 \u06a9\u0631\u062f:<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb c=polyder(a)<\/h3>\n<h3 style=\"direction: ltr;\">c =<\/h3>\n<h3 style=\"direction: ltr;\">\u06f2\u00a0 \u06f1<\/h3>\n<h3>\u0631\u06af\u0631\u0633\u06cc\u0648\u0646 \u0645\u0646\u062d\u0646\u06cc \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc<\/h3>\n<h3><\/h3>\n<h3>\u062a\u0627\u0628\u0639polyfit \u0636\u0631\u0627\u06cc\u0628 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0686\u0646\u062f \u062c\u0645\u0644\u0647 \u0627\u06cc \u0631\u0627 \u067e\u06cc\u062f\u0627 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0627\u0632 \u0645\u06cc\u0627\u0646 \u0645\u062c\u0645\u0648\u0639\u0647 \u0646\u0642\u0627\u0637 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0639\u0628\u0648\u0631 \u0645\u06cc \u0646\u0645\u0627\u06cc\u062f.<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb x=[1 2 3 4 5];<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb y=[5.5 43.1 128 290.7 498.4];<\/h3>\n<h3 style=\"direction: ltr;\">\u00bb p=polyfit(x,y,3)<\/h3>\n<h3 style=\"direction: ltr;\">p =<\/h3>\n<h3 style=\"direction: ltr;\">-\u06f0\u066b\u06f1\u06f9\u06f1\u06f7 \u06f3\u06f1\u066b\u06f5\u06f8\u06f2\u06f1 -\u06f6\u06f0\u066b\u06f3\u06f2\u06f6\u06f2 \u06f3\u06f5\u066b\u06f3\u06f4\u06f0\u06f0<\/h3>\n<h3>\u0639\u062f\u062f \u06f3 \u062f\u0631 \u062a\u0627\u0628\u0639 \u0646\u0634\u0627\u0646\u06af\u0631 \u062f\u0631\u062c\u0647 \u0645\u0646\u062d\u0646\u06cc \u0631\u06af\u0631\u0633\u06cc\u0648\u0646 \u0627\u0633\u062a.<\/h3>\n<h3><\/h3>\n<p>\u0631\u0633\u0645 \u0646\u0645\u0648\u062f\u0627\u0631<\/p>\n<p style=\"direction: ltr;\">\u00a0\u00bb x=linspace(0,2); y=x.*exp(-x);<\/p>\n<p style=\"direction: ltr;\">\u00bb plot(x,y)<\/p>\n<p style=\"direction: ltr;\">\u00bb grid<\/p>\n<p style=\"direction: ltr;\">\u00bb xlabel(&#8216;x&#8217;)<\/p>\n<p style=\"direction: ltr;\">\u00bb ylabel(&#8216;y&#8217;)<\/p>\n<p style=\"direction: ltr;\">\u00bb title(&#8216;y=x.e^{-x}&#8217;)<\/p>\n<p style=\"direction: ltr;\">\u00bb text(1,.2,&#8217;centre&#8217;)<\/p>\n<p style=\"direction: ltr;\">\u00a0<a href=\"http:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-chart1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-257\" alt=\"matlab Chart\" src=\"http:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-chart1-300x241.png\" width=\"300\" height=\"241\" srcset=\"https:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-chart1-300x241.png 300w, https:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-chart1.png 576w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u062f\u0633\u062a\u0648\u0631\u0647\u0627\u06cc \u0632\u06cc\u0627\u062f\u06cc \u062f\u0631 MATLAB \u0628\u0631\u0627\u06cc \u062a\u0631\u0633\u06cc\u0645 \u0646\u0645\u0648\u062f\u0627\u0631\u0647\u0627\u06cc \u0633\u0647 \u0628\u0639\u062f\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u0646\u062f. \u06cc\u06a9 \u0645\u0646\u062d\u0646\u06cc \u0633\u0647 \u0628\u0639\u062f\u06cc \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u06a9\u0645\u06a9 \u062f\u0633\u062a\u0648\u0631 \u00a0Plot3\u0631\u0633\u0645 \u06a9\u0646\u06cc\u062f:<\/p>\n<p style=\"direction: ltr;\">\u00bb t=0:.01:6*pi;<\/p>\n<p style=\"direction: ltr;\">\u00bb plot3(cos(t),sin(t),t)<\/p>\n<p style=\"direction: ltr;\">\u00bb xlabel(&#8216;cos(t)&#8217;)<\/p>\n<p style=\"direction: ltr;\">\u00bb ylabel(&#8216;sin(t)&#8217;)<\/p>\n<p style=\"direction: ltr;\">\u00bb zlabel(&#8216;t&#8217;)<\/p>\n<p style=\"direction: ltr;\"><a href=\"http:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-chart2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-258\" alt=\"matlab-chart2\" src=\"http:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-chart2.png\" width=\"491\" height=\"360\" srcset=\"https:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-chart2.png 491w, https:\/\/vua.nadiran.com\/wp-content\/uploads\/matlab-chart2-300x219.png 300w\" sizes=\"(max-width: 491px) 100vw, 491px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"direction: ltr; text-align: center;\">(m-files) \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc<\/p>\n<p>m-file \u0647\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0647 \u062f\u0648 \u0634\u06a9\u0644 \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u0635\u0644\u06cc \u0648 \u062a\u0627\u0628\u0639 \u0628\u0627\u0634\u0646\u062f. \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u0635\u0644\u06cc \u0639\u0628\u0627\u0631\u062a\u0633\u062a \u0627\u0632 \u0645\u062c\u0645\u0648\u0639\u0647 \u0627\u06cc \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0647\u0627 \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0637\u0648\u0631 \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u06a9\u0627\u0631MATLAB \u0627\u062c\u0631\u0627 \u0646\u0645\u0648\u062f. \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0646\u0627\u0645 \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u0635\u0644\u06cc \u0631\u0627 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u06a9\u0627\u0631 MATLAB \u0628\u0646\u0648\u06cc\u0633\u06cc\u0645 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0647\u0627 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0627\u062c\u0631\u0627 \u0645\u06cc \u06af\u0631\u062f\u0646\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644 \u0628\u0631\u0627\u06cc \u0645\u062d\u0627\u0633\u0628\u0647 \u062d\u062c\u0645 \u06af\u0627\u0632 \u06a9\u0627\u0645\u0644\u060c \u062f\u0631 \u062f\u0645\u0627\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0648 \u0641\u0634\u0627\u0631 \u0645\u0639\u0644\u0648\u0645\u060c \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 MATLAB \u0646\u0648\u0634\u062a\u0647 \u0648 \u0633\u067e\u0633 \u062a\u062d\u062a \u0639\u0646\u0648\u0627\u0646 pvt.m \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645:<\/p>\n<p style=\"direction: ltr;\">% A sample scritp file: pvt.m<\/p>\n<p style=\"direction: ltr;\">disp(&#8216; Calculating the volume of an ideal gas.&#8217;)<\/p>\n<p style=\"direction: ltr;\">R = 8314; % Gas constant (J\/kmol.K)<\/p>\n<p style=\"direction: ltr;\">t = &#8230;<\/p>\n<p style=\"direction: ltr;\">input(&#8216; Vector of temperature (K) = &#8216;);<\/p>\n<p style=\"direction: ltr;\">p = input(&#8216; Pressure (bar) = &#8216;)*1e5;<\/p>\n<p style=\"direction: ltr;\">v = R*t\/p; % Ideal gas law<\/p>\n<p style=\"direction: ltr;\">% Plotting the results<\/p>\n<p style=\"direction: ltr;\">plot(t,v)<\/p>\n<p style=\"direction: ltr;\">xlabel(&#8216;T (K)&#8217;)<\/p>\n<p style=\"direction: ltr;\">ylabel(&#8216;V (m^3\/kmol)&#8217;)<\/p>\n<p style=\"direction: ltr;\">title(&#8216;Ideal gas volume vs temperature&#8217;)<\/p>\n<div style=\"direction: ltr;\">\n<div style=\"direction: rtl;\">\u0639\u0644\u0627\u0645\u062a % \u0648 \u0622\u0646\u0686\u0647 \u0628\u062f\u0646\u0628\u0627\u0644 \u0622\u0646 \u062f\u0631 \u0647\u0645\u0627\u0646 \u0633\u0637\u0631 \u0645\u06cc \u0622\u06cc\u062f \u0628\u0647 \u0647\u0646\u06af\u0627\u0645 \u0627\u062c\u0631\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0627\u062f\u06cc\u062f\u0647 \u06af\u0631\u0641\u062a\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/div>\n<div style=\"direction: rtl;\">\u0639\u0644\u0627\u0645\u062a &#8230; \u0628\u06cc\u0627\u0646\u06af\u0631 \u0622\u0646 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0633\u062a\u0648\u0631 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u062f\u0631 \u0627\u06cc\u0646 \u0633\u0637\u0631 \u062a\u0645\u0627\u0645 \u0646\u0634\u062f\u0647 \u0648 \u062f\u0631 \u0633\u0637\u0631 \u0628\u0639\u062f\u06cc \u0627\u062f\u0627\u0645\u0647 \u0645\u06cc \u06cc\u0627\u0628\u062f.<\/div>\n<div style=\"direction: rtl;\">\n<p>\u067e\u0633 \u0627\u0632 \u0627\u06cc\u062c\u0627\u062f \u067e\u0631\u0648\u0646\u062f\u0647 pvt.m \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0622\u0646 \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0646\u0627\u0645 \u0622\u0646 \u0631\u0627 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u06a9\u0627\u0631 MATLAB \u0646\u0648\u0634\u062a\u0647 \u0648\u0646\u062a\u0627\u06cc\u062c \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc\u200c\u0646\u0645\u0627\u06cc\u06cc\u0645 (\u0646\u0645\u0648\u062f\u0627\u0631 \u0631\u0633\u0645 \u0646\u0634\u062f\u0647 \u0627\u0633\u062a):<\/p>\n<p style=\"direction: ltr;\">\u00bb pvt<\/p>\n<p style=\"direction: ltr;\">Calculating the volume of an ideal gas.<\/p>\n<p style=\"direction: ltr;\">Vector of temperature (K) = 100:25:300<\/p>\n<p style=\"direction: ltr;\">Pressure (bar) = 10<\/p>\n<\/div>\n<div style=\"direction: rtl;\">\n<div>\u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u062a\u0648\u0627\u0628\u0639\u06cc \u06a9\u0647 \u0647\u0645\u0631\u0627\u0647 MATLAB \u0647\u0633\u062a\u0646\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646 \u062a\u0648\u0627\u0628\u0639\u06cc \u0631\u0627 \u06a9\u0647 \u0645\u062d\u0627\u0633\u0628\u0627\u062a \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u0628\u062f\u0647\u062f \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f. \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u06cc\u06a9 \u06cc\u0627 \u0686\u0646\u062f \u062f\u0627\u062f\u0647 \u0631\u0627 \u062f\u0631 \u0648\u0631\u0648\u062f\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc \u06a9\u0646\u062f \u0648 \u067e\u0633 \u0627\u0632 \u0627\u0646\u062c\u0627\u0645 \u0645\u062d\u0627\u0633\u0628\u0627\u062a \u0644\u0627\u0632\u0645 \u0646\u062a\u0627\u06cc\u062c \u0631\u0627 \u062f\u0631 \u0642\u0627\u0644\u0628 \u06cc\u06a9 \u06cc\u0627 \u0686\u0646\u062f \u0645\u062a\u063a\u06cc\u0631 \u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/div>\n<div>\u0646\u06a9\u062a\u0647 \u0645\u0647\u0645 \u062f\u0631 \u0645\u0648\u0631\u062f \u062a\u0627\u0628\u0639 \u0647\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0639\u062f \u0627\u0632 \u062a\u0639\u0631\u06cc\u0641 \u062a\u0648\u0633\u0637 help \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0628\u0627\u0632\u062e\u0648\u0627\u0646\u06cc \u06a9\u0631\u062f.<\/div>\n<div><\/div>\n<div>\u06af\u0631\u062f\u0622\u0648\u0631\u06cc : \u0645\u0639\u06cc\u0646 \u0635\u0627\u0644\u062d<\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div>\n<div dir=\"rtl\">\u062f\u0633\u062a\u0648\u0631 \u062e\u0648\u0627\u0646\u062f\u0646 \u0641\u0627\u06cc\u0644 \u0627\u06a9\u0633\u0644 :<\/div>\n<div dir=\"rtl\" style=\"direction: ltr;\">climate = xlsread(&#8216;c:\\file1.xls&#8217;)<\/div>\n<div dir=\"rtl\"><\/div>\n<div dir=\"rtl\">\u0628\u0631\u0627\u06cc \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u06cc\u06a9 \u0634\u06cc\u062a \u0627\u06a9\u0633\u0644 :<\/div>\n<div dir=\"rtl\" style=\"direction: ltr;\">data = xlsread(&#8216;c:\\file1.xls&#8217;, &#8216;sheet1&#8217;)<\/div>\n<div dir=\"rtl\"><\/div>\n<div dir=\"rtl\">\u0628\u0631\u0627\u06cc \u06af\u0631\u0641\u062a\u0646 \u0686\u0646\u062f \u062f\u0627\u062f\u0647 \u0645\u0648\u0631\u062f \u0646\u0638\u0631:<\/div>\n<div dir=\"rtl\" style=\"direction: ltr;\">firstrow = xlsread(&#8216;c:\\file1.xls&#8217;, &#8216;sheet1&#8217;, &#8216;A2:B2&#8217;)<\/div>\n<div dir=\"rtl\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0646\u06a9\u0627\u062a\u06cc \u062f\u0631\u0628\u0627\u0631\u0647 \u06a9\u0627\u0631 \u0628\u0627 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0645\u062a\u0644\u0628 \u0631\u0648\u0634 \u0627\u0648\u0644 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u0646 \u0628\u0631\u062f\u0627\u0631\u0647\u0627 \u00bb v=[1 2 3] v = \u06f1 \u06f2 \u06f3 \u00bb w=[&#8216;abcd&#8217; &#8216;1234&#8217;] w = abcd1234 \u0628\u0631\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0628\u0631\u062f\u0627\u0631\u0647\u0627\u06cc \u0639\u062f\u062f\u06cc \u062d\u062a\u0645\u0627&#8221; \u0628\u0627\u06cc\u062f \u0627\u0632 \u06a9\u0631\u0648\u0634\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f \u0648\u0644\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646\u0647\u0627 \u0628\u0631\u0627\u06cc \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u062d\u0631\u0641\u06cc \u0627\u0644\u0632\u0627\u0645\u06cc \u0646\u06cc\u0633\u062a. \u00a0\u062d\u0627\u0644\u062a \u062e\u0627\u0635\u06cc \u0627\u0632 \u0628\u0631\u062f\u0627\u0631 \u0639\u0628\u0627\u0631\u062a\u0633\u062a \u0627\u0632 \u0628\u0631\u062f\u0627\u0631 \u062a\u0647\u06cc \u06a9\u0647 <a href='https:\/\/vua.nadiran.com\/?p=256' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-256","post","type-post","status-publish","format-standard","hentry","category-19","category-19-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/vua.nadiran.com\/index.php?rest_route=\/wp\/v2\/posts\/256"}],"collection":[{"href":"https:\/\/vua.nadiran.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vua.nadiran.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vua.nadiran.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vua.nadiran.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=256"}],"version-history":[{"count":6,"href":"https:\/\/vua.nadiran.com\/index.php?rest_route=\/wp\/v2\/posts\/256\/revisions"}],"predecessor-version":[{"id":261,"href":"https:\/\/vua.nadiran.com\/index.php?rest_route=\/wp\/v2\/posts\/256\/revisions\/261"}],"wp:attachment":[{"href":"https:\/\/vua.nadiran.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vua.nadiran.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vua.nadiran.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}