Warning: include(): open_basedir restriction in effect. File(/home/matlabsite/public_html/wp-content/plugins/wp-super-cache/wp-cache-base.php) is not within the allowed path(s): (/home/h321874/:/tmp:/var/tmp:/opt/alt/php81/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php81/lib/php/) in /home/h321874/domains/matlabsite.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 95

Warning: include(/home/matlabsite/public_html/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: Operation not permitted in /home/h321874/domains/matlabsite.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 95

Warning: include(): open_basedir restriction in effect. File(/home/matlabsite/public_html/wp-content/plugins/wp-super-cache/wp-cache-base.php) is not within the allowed path(s): (/home/h321874/:/tmp:/var/tmp:/opt/alt/php81/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php81/lib/php/) in /home/h321874/domains/matlabsite.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 95

Warning: include(/home/matlabsite/public_html/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: Operation not permitted in /home/h321874/domains/matlabsite.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 95

Warning: include(): Failed opening '/home/matlabsite/public_html/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='.:/opt/alt/php72/usr/share/pear') in /home/h321874/domains/matlabsite.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 95

Warning: include_once(): open_basedir restriction in effect. File(/home/matlabsite/public_html/wp-content/plugins/wp-super-cache/ossdl-cdn.php) is not within the allowed path(s): (/home/h321874/:/tmp:/var/tmp:/opt/alt/php81/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php81/lib/php/) in /home/h321874/domains/matlabsite.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 122

Warning: include_once(/home/matlabsite/public_html/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: Operation not permitted in /home/h321874/domains/matlabsite.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 122

Warning: include_once(): Failed opening '/home/matlabsite/public_html/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='.:/opt/alt/php72/usr/share/pear') in /home/h321874/domains/matlabsite.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 122
راهنمای استفاده از تابع isinf در متلب | مرجع متلب و هوش مصنوعی.

راهنمای استفاده از تابع isinf در متلب

تابع isinf چک می‌کند که آیا عدد ورودی بینهایت (مثبت یا منفی) است یا نه؟ در صورتی که ورودی بینهایت باشد، خروجی یک (درست) و در غیر این صورت، خروجی صفر (غلط) است.

تابع isinf چک می‌کند که آیا عدد ورودی بینهایت (مثبت یا منفی) است یا نه؟ در صورتی که ورودی بینهایت باشد، خروجی یک (درست) و در غیر این صورت، خروجی صفر (غلط) است.

برای مشاهده نحوه استفاده، لطفا به ادامه مطلب مراجعه نمایید.

 

تابع isinf چک می‌کند که آیا عدد ورودی بینهایت (مثبت یا منفی) است یا نه؟ در صورتی که ورودی بینهایت باشد، خروجی یک (درست) و در غیر این صورت، خروجی صفر (غلط) است.

تابع isinf چک می‌کند که آیا عدد ورودی بینهایت (مثبت یا منفی) است یا نه؟ در صورتی که ورودی بینهایت باشد، خروجی یک (درست) و در غیر این صورت، خروجی صفر (غلط) است.

 

نحوه استفاده: 

نمونه ای از کاربرد و نحوه فراخوانی این تابع در ادامه آمده است:

 

x = [1 2 -1 0];

isinf(1./x)

ans = 

        ۰      ۰      ۰      ۱

مطالب پیشنهادی‎

پاسخی بگذارید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *