What is wrong with my simple matlab code -


  (एक्स ^ 2) (1,2)   

एक्स एक वर्ग मैट्रिक्स है, मैं सिर्फ तत्व (1,2) से (एक्स ^ 2) स्थिति से इसे प्राप्त करना चाहता हूं ?

इस मामले में इंडेक्सिंग की अनुमति नहीं है। सबसे सरल समाधान getfield

  एक्स = जादू (5) एक्स = 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 12 19 उपयोग करने के लिए है 21 3 11 18 25 2 9 & gt; & gt; मिलती है (एक्स ^ 2, {1,3}) ans = 725    

Comments

Popular posts from this blog

Android - Facebook GraphUser has no email attribute -

Opencart and VQMOD issue: Could not load controller in vq2-system_engine_controller.php -

deployment - How to upload Parent child SSIS package to server -