Unable to perform assignment because the left and right sides have a different number of elements.

1 view (last 30 days)
Here i am trying to extract the data from Cell, but i getting error.
please help me rewrite the code of the erroe occured.
  5 Comments
Walter Roberson
Walter Roberson on 25 Dec 2020
What is the value of L ? If it is not 2 then you have a problem. data{i}.X(j,:) would be a vector of length 2 on the right hand side, and the code you posted designates a vector of length L on the left side.

Sign in to comment.

Answers (0)

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!