Matrices with customized sums for rows and columns

5 ビュー (過去 30 日間)
MSH
MSH 2015 年 5 月 7 日
コメント済み: Stephen23 2015 年 5 月 21 日
I want to create 4 matrices (6x10) with sums of rows and columns as following; in a single program/code.
mat1::::sum_row1=sum_row2=......=sum_row6=r(say),,,,,,sum_col1=sum_col2=......=sum_col6=c(say)&&&&&&r=c
mat2::::sum_row1=sum_row2=......=sum_row6,,,,,,,,,,,,,sum_col1≠sum_col2≠......≠sum_col6
mat3::::sum_row1≠sum_row2≠......≠sum_row6,,,,,,,,,,,,,sum_col1=sum_col2=......=sum_col6
mat4::::sum_row1≠sum_row2≠......≠sum_row6,,,,,,,,,,,,,sum_col1≠sum_col2≠......≠sum_col6
Kindly suggest some logic/program
Thanks

採用された回答

Image Analyst
Image Analyst 2015 年 5 月 7 日

その他の回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by