Matlab Function Output matrix size

Hello Friends,
Below is the matlab function i created on simulink for output b_i and input time t and all other inputs are scalers
Capture.PNG
I have mentioned the size of each variable computed in the comments following the computation.
Here,I get the output size of b_i as 51x3 . where as i expect a 3x1x51 . Could anyone tell me why I do not get it?

2 件のコメント

Dinesh Yadav
Dinesh Yadav 2019 年 10 月 30 日
What I would like to understand is you are having all 2D matrices of size 3x1 and 3x3, how are you getting the output of 51x3? And why are you expecting the output to be 3D. I do not see any indexing to add elements to the 3rd dimension.
Nisarg Shah
Nisarg Shah 2019 年 11 月 4 日
The other fuction which i am using other than this one also has all 2 D inputs but it gives a 3x3x51 output. I am attaching here the complete model.
This is the code for computing R_oi which gives me an output of 3x3x51.
Capture.PNG
This is my simulink model.
Capture.PNG

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

回答 (0 件)

カテゴリ

質問済み:

2019 年 10 月 27 日

コメント済み:

2019 年 11 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by