Scatter plots
📖 Scenario: You are a scientist who collected data about the heights and weights of a group of people. You want to visualize this data to see if there is any pattern between height and weight.
🎯 Goal: Create a scatter plot in MATLAB that shows the relationship between height and weight.
📋 What You'll Learn
Create two vectors called
height and weight with given dataCreate a variable called
markerSize to control the size of the scatter plot pointsUse the
scatter function with height, weight, and markerSizeAdd labels to the x-axis and y-axis
Display the scatter plot
💡 Why This Matters
🌍 Real World
Scientists and data analysts often use scatter plots to see if two things are related, like height and weight.
💼 Career
Knowing how to create scatter plots is useful in jobs involving data visualization, research, and reporting.
Progress0 / 4 steps