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
راهنمای استفاده از تابع fliplr در متلب | مرجع متلب و هوش مصنوعی.

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

fliplr برای آینه ای کردن ماتریس و معکوس کردن ترتیب ستون‌ها به کار می‌رود. از ترکیب این و diag می‌توان برای استخراج قطر فرعی ماتریس استفاده نمود.

fliplr برای آینه ای کردن ماتریس و معکوس کردن ترتیب ستون‌ها به کار می‌رود. از ترکیب این و diag می‌توان برای استخراج قطر فرعی ماتریس استفاده نمود.

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

 

fliplr برای آینه ای کردن ماتریس و معکوس کردن ترتیب ستون‌ها به کار می‌رود. از ترکیب این و diag می‌توان برای استخراج قطر فرعی ماتریس استفاده نمود.

fliplr برای آینه ای کردن ماتریس و معکوس کردن ترتیب ستون‌ها به کار می‌رود. از ترکیب این و diag می‌توان برای استخراج قطر فرعی ماتریس استفاده نمود.

 

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

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

A = eye(6);

B= fliplr(A);

A+B

ans =

          ۱     ۰     ۰     ۰     ۰     ۱ 

          ۰     ۱     ۰     ۰     ۱     ۰ 

          ۰     ۰     ۱     ۱     ۰     ۰ 

          ۰     ۰     ۱     ۱     ۰     ۰ 

          ۰     ۱     ۰     ۰     ۱     ۰ 

          ۱     ۰     ۰     ۰     ۰     ۱ 

 

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

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

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