What does this line really do?
Show older comments
a(1,a == 1) = -1;
a(1,a == 0) = 1;
I am not sure what does this line really do? Can someone explain to me?
2- Does anyone know the function of correlation, auto and cross? I want to build smooth function.
2 Comments
dpb
on 6 Dec 2021
- Create a test a array of integer values including at least some ones and zeros and test it
- Read the documentation, first.
vimal kumar chawda
on 6 Dec 2021
Accepted Answer
More Answers (0)
Categories
Find more on Resizing and Reshaping Matrices 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!