Is my code wrong? I believe...

Need help with part b on number 11.9 I get the right answer, but I feel like my third dimension should be 2 and the fourth one should be 2 in the second part of variabl b. Here is my code...
load test_results
A=cat(4, test1year1, test2year1, test3year1, test1year2, test2year2, test3year2)
a=A(1,2,1,3)
%part b)
b=[A(1,1,1,2),A(1,1,1,5)]
I attached data file for test results and a picture of the question. Any help will be greatly appreciated.

2 件のコメント

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 11 月 19 日
There is no attached file
Mike
Mike 2013 年 11 月 19 日
I added the data and picture as an answer... I believe the third dimension should be 2 and the fourth dimension should be 2 instead of 1 and 5, but I don't know how to concatenate it like that.

サインインしてコメントする。

回答 (2 件)

Mike
Mike 2013 年 11 月 19 日

0 投票

data for the problem
Mike
Mike 2013 年 11 月 19 日

0 投票

and the problem is attached

カテゴリ

ヘルプ センター および File ExchangeStructures についてさらに検索

質問済み:

2013 年 11 月 19 日

コメント済み:

2013 年 11 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by