Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6750033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:45:38+00:00 2026-05-26T12:45:38+00:00

There are 3 matrices A,B,C: A=[0 1;2 3] B=[4 5;6 7] C=[8 9;10 11]

  • 0

There are 3 matrices A,B,C:

A=[0 1;2 3]
B=[4 5;6 7]
C=[8 9;10 11]

How to create a new matrix D(2,2) so as its elements are arrays of a type

D = [{A(1,1), B(1,1), C(1,1)} {{A(1,2), B(1,2), C(1,12}; 
     {A(2,1), B(2,1), C(2,1)} {A(2,2), B(2,2), C(2,2)}]

For example: Using an operator D(1,1) gives the result

0, 4, 8

The bracket {} are only illustrative and do not represent a matlab syntax…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T12:45:38+00:00Added an answer on May 26, 2026 at 12:45 pm

    You are almost there:

    D = [{[A(1,1), B(1,1), C(1,1)]} {[A(1,2), B(1,2), C(1,2)]};
         {[A(2,1), B(2,1), C(2,1)]} {[A(2,2), B(2,2), C(2,2)]}]
    

    (you see the additional branches?)

    D is now a cell array, with each cell containing a 1×3 matrix.

    To access the cell array use this syntax:

    D{1,1}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there stable linear algebra (more specifically, vectors, matrices, multidimensional arrays and basic operations
I am using Numpy to store data into matrices. Coming from R background, there
I am trying to create a Matrix class using c++. So far, I have
I have an algorithm where I create two bi-dimensional arrays like this: TYPE TPtrMatrixLine
For example, I have 6 similar Matrices (Matrix A1 to A6) but with different
There are two weird operators in C#: the true operator the false operator If
I want to create an 1,k cell of m,m matrices. I have some trouble
Is there a lowest common denominator format for multidimensional images or matrices analogous to
Audio processing is pretty new for me. And currently using Python Numpy for processing
How do I build a 2d matrix using STDIN? If I input a matrix

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.