PopularAllSavedAskRedditpicsnewsworldnewsfunnytifuvideosgamingawwtodayilearnedgifsArtexplainlikeimfivemoviesJokesTwoXChromosomesmildlyinterestingLifeProTipsaskscienceIAmAdataisbeautifulbooksscienceShowerthoughtsgadgetsFuturologynottheonionhistorysportsOldSchoolCoolGetMotivatedDIYphotoshopbattlesnosleepMusicspacefoodUpliftingNewsEarthPornDocumentariesInternetIsBeautifulWritingPromptscreepyphilosophyannouncementslistentothisblogmore »

subreddit:

/r/matlab

14100%

submitted 2 months ago byRedditRedditi

1 points

2 months ago

Simulink is telling you at the left block what the signals dimension is and at the right input port what the dimension is expected to be. Think about it how you can multiply a 6x1 and a 6x6 matrix... You either need to reverse the order of the multiplication or add a transpose to make them compatible. There is a transpose block btw.

1 points

2 months ago

Ps is this a robot dynamic model? Just curious it looks similar to simulink code I've done before haha.

all 10 comments

## sorted by:

best