How to create a threshold on a plot?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How do you create a binary array that tells you whether a (2D) plot is "yes" or "no" above a threshold of 0.5?
0 Kommentare
Antworten (1)
KALYAN ACHARJYA
am 1 Okt. 2020
Example:
data_2d=rand(1,20); %Example
threshold_val=0.5;
binary_array=data_2d>threshold_val % This create a binary array based on threshold_val
0 Kommentare
Siehe auch
Kategorien
Mehr zu Visual Exploration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!