フィルターのクリア

what is the function to compute this equation?

1 回表示 (過去 30 日間)
Firas Al-Kharabsheh
Firas Al-Kharabsheh 2016 年 4 月 8 日
編集済み: Azzi Abdelmalek 2016 年 4 月 8 日
if i have (n x m ) matrix like this
A = [ 1 1 0 1 1
1 1 1 0 1
1 1 0 1 0
0 1 1 1 1 ]
B = [ 2 2
3 1
2 1
4 0 ]
C = [ 0 0 1 1 2
3 4 1 2 1 ]
Which B represent number of group of ones in each row in A And C represent number of group of ones in each row in A
I want a function to generate ( n x m ) matrix (D) randomly which This matrix (D) is similar to a matrix (A) in their contents using MATRIX B AND C
by Compute this equation
  • which the first double summation compute for B matrix
  • second double summation compute for C matrix
  • U is number of non consecutive 1's
  • Cij is the each number in matrix B
  • rij is the each number in matrix C
  • AND Xij represent the number of matrix D

回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by