フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

problem in running when use pmode

1 回表示 (過去 30 日間)
huda nawaf
huda nawaf 2012 年 11 月 14 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
hi lately, I used pmode . I tried simple example.
pmode start
x=magic(6);
labindex
recstarID=[0 0 ; 3 1];
recEndID=[2 5; 5 5];
a=sum(x(restarID(labindex,:),reEndID(labindex,:)))
b=distributed(a,distributor('1d',1))
I have two cores, so I have to partition the array x into two parts .As I read in tutorial I have to determine the upper left index and the lower right index for each part.
*what I got :
a =
66 44
it should be get six valuse , why I got two wrong values*
Thanks in advance

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by