Matlab Function Output matrix size
Show older comments
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

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 Comments
Dinesh Yadav
on 30 Oct 2019
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
on 4 Nov 2019
Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
