Community Profile

photo

Marc Cousoulis


Active since 2017

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Using strcmp on multiple strings to get a logical array
I want to check for the occurrence of 3 possible events in a series of events.. Event = ['a1','b1','a1','c1','b1']'; Che...

ungefär 7 år ago | 3 answers | 0

3

answers

Question


interp1 using method 'previous' returns an unexpected NaN?
x = [1 2 4]; v = [17 100 17]; xq = 1:5; vq = interp1(x,v,xq,'previous'); vq = 17 100 100 17 NaN Why is vq(5) not...

ungefär 7 år ago | 1 answer | 0

1

answer