Hi, I have a range of θ want to put into the equation as below, but it comes out error "The grid vectors must contain unique points". I found out that M would be deplicated when θ >0.024 rad. So, I added the unique function as below, but it still has error "X and V must be of the same length". How should I revise the code?
Before adding unique function:
After adding unique function: