How may I use reshape for this code?
Show older comments
count=0;
for j = 1:frame_number
for i=1:15
if (A(i,j)*A(i+1,j))<0
count=count+1;
end
b(j)=count;
end
count=0;
end
3 Comments
Dyuman Joshi
on 31 Jul 2022
What are you trying to reshape?
Onur Batin Genc
on 31 Jul 2022
Onur Batin Genc
on 31 Jul 2022
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements 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!