Info

This question is closed. Reopen it to edit or answer.

Help me to sort out this problem.

1 view (last 30 days)
Zaigham Abbas
Zaigham Abbas on 21 Feb 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
I am facing this problem continously, how to sort out this issueError.jpg
  2 Comments
madhan ravi
madhan ravi on 21 Feb 2019
upload your code instead of a picture with Input_Vector
Omer Yasin Birey
Omer Yasin Birey on 21 Feb 2019
Simply, Input_Vector does not have 16 elements in it. It is higher or lower than this.

Answers (1)

Omer Yasin Birey
Omer Yasin Birey on 21 Feb 2019
No_of_Load_Hours = 4;
No_of_Units = numel(Input_Vector)/No_of_Load_Hours;
Input_Discharges = reshape(Input_Vector,No_of_Load_Hours,No_of_Units);

Tags

Community Treasure Hunt

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

Start Hunting!