النتائج 1 إلى 2 من 2

الموضوع: cell2mat finction - MATLAB Function Reference

  1. #1
    elfr3on el3ashk الصورة الرمزية A7med Baraka
    تاريخ التسجيل
    Jun 2008
    الدولة
    Egypt - Cairo
    المشاركات
    4,695
    معدل تقييم المستوى
    10

    Thumbs up cell2mat finction - MATLAB Function Reference


    End Google Ads 201810 - BS.net 01 -->
    cell2mat

    Convert cell array of matrices to single matrix

    Syntax


    • m = cell2mat(c)


    Description

    m = cell2mat(c) converts a multidimensional cell array c with contents of the same data type into a single matrix, m. The contents of c must be able to concatenate into a hyperrectangle. Moreover, for each pair of neighboring cells, the dimensions of the cells' contents must match, excluding the dimension in which the cells are neighbors.

    The example shown below combines matrices in a 3-by-2 cell array into a single 60-by-50 matrix:

    • cell2mat(c)




    Remarks

    The dimensionality (or number of dimensions) of m will match the highest dimensionality contained in the cell array.

    cell2mat is not supported for cell arrays containing cell arrays or objects.

    Examples

    Combine the matrices in four cells of cell array C into the single matrix, M:

    • C = {[1] [2 3 4]; [5; 9] [6 7 8; 10 11 12]}
      C =
      [ 1] [1x3 double]
      [2x1 double] [2x3 double]

      C{1,1} C{1,2}
      ans = ans =
      1 2 3 4

      C{2,1} C{2,2}
      ans = ans =
      5 6 7 8
      9 10 11 12

      M = cell2mat(C)
      M =
      1 2 3 4
      5 6 7 8
      9 10 11 12



  • #2
    تقنى جديد
    تاريخ التسجيل
    Dec 2008
    الدولة
    temporarily in egypt
    المشاركات
    14
    معدل تقييم المستوى
    0

    افتراضي رد: cell2mat finction - MATLAB Function Reference

    شكرا جزيلا على التوضيح

  • معلومات الموضوع

    الأعضاء الذين يشاهدون هذا الموضوع

    الذين يشاهدون الموضوع الآن: 1 (0 من الأعضاء و 1 زائر)

    المواضيع المتشابهه

    1. complete reference to J2EE أجمد سلسلة كتب
      بواسطة asdfci في المنتدى Java - جافا
      مشاركات: 5
      آخر مشاركة: 05-04-2010, 01:22 PM
    2. complete reference to J2ME
      بواسطة asdfci في المنتدى Java - جافا
      مشاركات: 3
      آخر مشاركة: 05-04-2010, 01:22 PM
    3. Matlab and J-DSP Code Samples (Image Processing and Speech Processing )
      بواسطة wa7edmenelnass في المنتدى شبكات Networks
      مشاركات: 8
      آخر مشاركة: 06-26-2009, 12:56 PM
    4. Linux command complete reference - e-book
      بواسطة A7med Baraka في المنتدى linux - لينوكس
      مشاركات: 1
      آخر مشاركة: 11-27-2008, 06:50 PM
    5. Learn Matlab amazing Books Collection - أحترف الماتلاب
      بواسطة A7med Baraka في المنتدى شبكات Networks
      مشاركات: 2
      آخر مشاركة: 10-29-2008, 02:10 AM

    الكلمات الدلالية لهذا الموضوع

    مواقع النشر (المفضلة)

    ضوابط المشاركة

    • لا تستطيع إضافة مواضيع جديدة
    • لا تستطيع الرد على المواضيع
    • لا تستطيع إرفاق ملفات
    • لا تستطيع تعديل مشاركاتك
    •  
    "وَقُل رَّبِّ زِدْنِي عِلْمًا"
    أعلانات نصية أستضافة , ريسيلر - Best Hosting | BarakaSoft Web Solutions

    BarakaSoft PageRank RSS RSS 2.0 XML MAP HTML 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 C/C++ | Java | C# | Network | Database | OS | Linux | Windows | Hacker & Security | Photoshop | Flash | Web Development | Free Programs | Mobile App | Free Java Course | Latest Technical News | Internet Programs | Antiviurse Programs | Graphics Programs | Network Programs | Portable Programs | vb Forums Development | Forums Development | CMS(Joomla-nuke-wordpress-mkportal...) | Photo | Anime |