Search
 
SCRIPT & CODE EXAMPLE
 

MATLAB

display sequence in matlab

function displaySequence(X,Y)
clrOrder = get(gca,'ColorOrder');
classNames = categories(removecats(Y));
grps = findgroups(Y);
gscatter(1:length(X),X,grps,clrOrder(1:3,:))
legend(classNames)
xlabel('Time (samples)')
ylabel('')
end
Comment

PREVIOUS NEXT
Code Example
Matlab :: octave wait 
Matlab :: matlab symbolic roots 
Matlab :: scilab plot 2d function 
Matlab :: pass variable by reference to function in matlab 
Matlab :: matlab tf get poles 
Matlab :: matlab text subscript 
Basic :: basic latex document 
Basic :: theme leaf concatenate 
Basic :: Detailview with form mixing 
Basic :: API Key Authentication, Basic , Pasword Grant, Client Credentials 
Elixir :: elixir string to date 
Elixir :: elixir string regex 
Elixir :: elixir get nested map value 
Elixir :: elixir new structs 
Scala :: print hello world in scala 
Scala :: scala jrtpath 
Scala :: how to tell what type a variable is scala 
Excel :: google sheets stack columns 
Excel :: or logic excel 
Perl :: perl print array 
Perl :: first line perl 
Pascal :: case of pascal 
Gdscript :: godot check if object is in group 
Abap :: abap shortcut comments 
Assembly :: flops in deep learning 
Assembly :: spliting dateetimeindedx into date and time column 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: jquery check if screen size 
Javascript :: Error: Node Sass version 5.0.0 is incompatible with ^4.0.0. 
Javascript :: json object length in javascript 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =