what does inner matrix dimensions must agree matlab error?

How to plot this

1 Comment

The image is not available. Use the brown and green ‘picture’ icon to attach it as an image.
If it contains a screen capture of code, don’t bother. Either post your code in your Question (and use the [{}Code] button to format it) or attach your code .m-file using the ‘paperclip’ icon.

Sign in to comment.

Answers (1)

This error can often be fixed by replacing the * operator (matrix multiply) with the .* operator (element-wise multiply). Look at the offending line in your code to see if that is the case.

Categories

Products

Asked:

on 21 Apr 2015

Commented:

on 21 Apr 2015

Community Treasure Hunt

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

Start Hunting!