function of reshape function of "reprint" matlab

Source: Internet
Author: User

http://blog.csdn.net/zhang11wu4/article/details/7979423

Because I use the MATLAB program appears reshape function, the program also appeared ... So the query of the above page feels pretty good

K>> b1b1 (:,:,1) =     1     3     0     0B1 (:,: ,2) =     4     3     1     0

The above is the composition of the B1, is a 2x2x2 three-dimensional matrix, equivalent to the two 2x2 matrix stacked together, defined as the first layer and the second layer.

K>> C1=reshape (B1,4,2=     1     4     0     1      3     3     0     0

Reshape processing, the column of each layer of the matrix is connected to the first and last, forming a column, then the two layers are composed of two columns, then become a 4x2 matrix.

function of reshape function of "reprint" matlab

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.