Stuart’s MATLAB Videos

Watch and Learn

Basics: Visualizing a function of two variables

I was interested in visualizing isolines on a graph of BMI. This is a non-linear function of two variables. I thought the best way to visualize this would be with a contour plot.

This video is very basic, it starts by creating the vectors of inputs to this function and then making them into matrices. We then calculate the BMI and modify the contour plot to look more like we want.

|
  • print

评论

要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。