MATLAB Answers

Plot of an equation of three unknown variables

7 views (last 30 days)
Godwin Osabutey
Godwin Osabutey on 21 Nov 2020
Commented: Godwin Osabutey on 21 Nov 2020
I have been trying have a graphical view of three unknown
variables (a, b and c) in an eqaution. The equation is below;
x = tanh(a*x^2 + b*x + c); x in [-1,1]
How can I do this? Thanks!

  0 Comments

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 21 Nov 2020
For a full plot of 3 independent variables and one resultant variable, you need to encode the resultant variable as marker shape (one scatter3 or plot3 call for each different marker shape), or point size (scatter3; or a lot of plot3 calls), or as color (scatter3 or patch or a lot of plot3 calls), or as transparency (patch). (Though transparency by itself is hard to see.)

  1 Comment

Godwin Osabutey
Godwin Osabutey on 21 Nov 2020
Thank you for your response. The slice and isosurface is not work for my case.
I want to see how x varies with changing a, b and c.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!