Unable to perform assignment because the left and right sides have a different number of elements.
1 view (last 30 days)
Show older comments
Riyadh Salim
on 21 Jan 2019
Commented: Riyadh Salim
on 21 Jan 2019
Unable to perform assignment because the left and right sides have a different number of elements. i have this error on a(t)=a; at the end , please help to fix it?
See the attached script file for code.
2 Comments
madhan ravi
on 21 Jan 2019
Edited: madhan ravi
on 21 Jan 2019
@Riyadh next time when posting a question better is to attach your script file instead of pasting 400 lines of code ! I formatted your code today.
Accepted Answer
Kevin Phung
on 21 Jan 2019
you are setting an element, a(t) to be equal to your entire matrix a.
Not sure what you are trying to do, please reformat your question so it's easier to look at.
More Answers (0)
See Also
Categories
Find more on Call MATLAB from Python 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!