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

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

تابع blkdiag برای ساختن ماتریس‌های قطری بلوکی با استفاده از ترکیب چند ماتریس به کار می‌رود. این عملیات، در زمینه‌های مختلف، همچون مهندسی کنترل و روش‌های بهینه‌سازی کاربردهای فراوانی دارد.

تابع blkdiag برای ساختن ماتریس‌های قطری بلوکی با استفاده از ترکیب چند ماتریس به کار می‌رود. این عملیات، در زمینه‌های مختلف، همچون مهندسی کنترل و روش‌های بهینه‌سازی کاربردهای فراوانی دارد.

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

 

تابع blkdiag برای ساختن ماتریس‌های قطری بلوکی با استفاده از ترکیب چند ماتریس به کار می‌رود. این عملیات، در زمینه‌های مختلف، همچون مهندسی کنترل و روش‌های بهینه‌سازی کاربردهای فراوانی دارد.

تابع blkdiag برای ساختن ماتریس‌های قطری بلوکی با استفاده از ترکیب چند ماتریس به کار می‌رود. این عملیات، در زمینه‌های مختلف، همچون مهندسی کنترل و روش‌های بهینه‌سازی کاربردهای فراوانی دارد.

 

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

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

A = [1 2; 3 4];

B = eye(2);

C = 5 * onec(3);

blkdiag(A, B, C)

ans=

     ۱      ۲      ۰      ۰      ۰      ۰       ۰

     ۳      ۴      ۰      ۰      ۰      ۰       ۰

     ۰      ۰      ۱      ۰      ۰      ۰       ۰

     ۰      ۰      ۰      ۱      ۰      ۰       ۰

     ۰      ۰      ۰      ۰      ۵      ۵       ۵

     ۰      ۰      ۰      ۰      ۵      ۵       ۵

     ۰      ۰      ۰      ۰      ۵      ۵       ۵

 

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

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

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