MATLAB Separate Points for Plotting

Click For Summary
SUMMARY

The discussion focuses on plotting data points in MATLAB, specifically separating 1000 generated data points into two classes based on their position relative to a decision boundary. Users are advised to split the data into two sets: (x0, y0) for class 0 and (x1, y1) for class 1. The MATLAB plot function is recommended for visualizing these points in different colors, effectively distinguishing between the two classes.

PREREQUISITES
  • Basic understanding of MATLAB programming
  • Familiarity with data structures in MATLAB
  • Knowledge of plotting functions in MATLAB
  • Concept of decision boundaries in data classification
NEXT STEPS
  • Explore MATLAB's plot function for advanced visualization techniques
  • Learn about data classification methods in MATLAB
  • Investigate MATLAB's scatter function for plotting points
  • Research techniques for optimizing data visualization in MATLAB
USEFUL FOR

Data scientists, MATLAB users, and anyone interested in visualizing classified data points effectively.

strokebow
Messages
122
Reaction score
0
Hi,

I have generated 1000 data points.
I have assigned them a class (1 or 0) depending if they are above or below a decision boundary.

I want to plot the data on a graph with the class 1 data points in one colour and the class 0 data points in another.

any ideasa how I can do this please.

Thanks!
 
Physics news on Phys.org

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K