Help with plotting shape functions?
Show older comments
Hello, thanks for reading this,
I was wondering if you could help me with plotting shape functions. I have shape I want to graph in matlab, represented by the shape function:
(pz*15*15*15+2*(px*px+2.25*py*py)*(px*px+2.25*py*py)<0)&&(px*px>0.01*15*15)&& (pz>-2.3*15)
I got this, along with other shape functons, from some C++ code I inherited. I think if I can learn how to plot this, I can do the rest.
I started with trying to make a symbolic function out of this, defined by the code:
syms px py px v
and to make a symbolic function:
sym('v = ...')
I was thinking a ezplot may be the quickest way of doing this. However, I'm not sure how I would include the and operators, or even if symbolic equations are the best way of doing this problem.
Have any advice? Thanks
EDIT: I think a better way of saying this is I have a 3d volume I want to represent graphically, and I have a set of constraint equations associated with that 3D volume. I was wondering how I can represent my 3d volume given my set of constraint equations.
Accepted Answer
More Answers (0)
Categories
Find more on Spline Postprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!