CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > CoCreate Modeling

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 02-24-2004, 05:26 AM
jackk36 jackk36 is offline
Registered User
 
Join Date: Feb 2003
Posts: 9
Create A Surface In S.D. from A Equation

function [z] = surf_contour_A(x,y)
a = 1;
b = -0.004;
c = 0.8535;
d = 142.52;
e = -0.258;
f = -0.0004;
g = 0.5607;

numerator = (a+b*y).*(x.^2+c*y.^2);
denominator = d+e*y+f*(x.^2+g*y.^2);
z = numerator ./ denominator;

return;
Reply With Quote
  #2  
Old 04-11-2007, 12:56 PM
dszostak's Avatar
dszostak dszostak is offline
Registered User
 
Join Date: Oct 2002
Location: Boston, MA
Posts: 292
Re: Create a surface In Modeling from an equation

In the 2007 release of CoCreate OneSpace Modeling, you can now create mathematical 2D curves from a functional equation or 3D curves based off of a parametric equation.
__________________
David@CoCreate
Reply With Quote
  #3  
Old 04-11-2007, 06:25 PM
Lim Chee Beng's Avatar
Lim Chee Beng Lim Chee Beng is offline
Registered User
 
Join Date: Nov 2002
Location: Malaysia
Posts: 210
Re: Create A Surface In S.D. from A Equation

Quote:
Originally Posted by jackk36 View Post
function [z] = surf_contour_A(x,y)
a = 1;
b = -0.004;
c = 0.8535;
d = 142.52;
e = -0.258;
f = -0.0004;
g = 0.5607;

numerator = (a+b*y).*(x.^2+c*y.^2);
denominator = d+e*y+f*(x.^2+g*y.^2);
z = numerator ./ denominator;

return;
Just curious, what kind of range of x & y you are focusing at? It looks pretty much a flat surface in the x&y range of -1 to +1, if my function expression is correct...
'(lambda (x y) (/ (* (+ 1 (* -0.004 y)) (+ (expt x 2) (* 0.8535 (expt y 2)))) (+ (+ 142.52 (* -0.258 y)) (* -0.0004 (+ (expt x 2) (* 0.5607 (expt y 2)))))))

Last edited by Lim Chee Beng; 04-11-2007 at 06:37 PM.
Reply With Quote
  #4  
Old 04-12-2007, 12:44 AM
Lim Chee Beng's Avatar
Lim Chee Beng Lim Chee Beng is offline
Registered User
 
Join Date: Nov 2002
Location: Malaysia
Posts: 210
Re: Create a surface In Modeling from an equation

Quote:
Originally Posted by dszostak View Post
In the 2007 release of CoCreate OneSpace Modeling, you can now create mathematical 2D curves from a functional equation or 3D curves based off of a parametric equation.
Is there a similar command to plot 3D surface from a functional equation?
Reply With Quote
  #5  
Old 04-12-2007, 06:30 AM
dszostak's Avatar
dszostak dszostak is offline
Registered User
 
Join Date: Oct 2002
Location: Boston, MA
Posts: 292
Re: Create A Surface In S.D. from A Equation

In this 2007 release, there is not a command to to plot a 3D surface from a functional equation - only 2D or 3D curves.
__________________
David@CoCreate
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:52 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.