How to plot different logical values as vector elements using imagesc()??

Hi everyone, need some help. In the script I will post I have to use the function "imagesc()" applied to an array of logical variables called "stance". In this script these variables can change in every loop (according to the phase changing) and what I wanna do is to graph the different values the variables assume (using imagesc) but it seems that the plot saves only the last value assumed by them..can you help me please? I'll post two plots as an example. The fact is that I don't know how to plot all the values assumed by the single element of the array..

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Asked:

on 4 Jan 2018

Edited:

on 4 Jan 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!