Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
help needed.....

Subject: help needed.....

From: shanthi

Date: 6 May, 2010 11:38:04

Message: 1 of 3

guys is to possible to plot 3D graphs in Matlab?????......and if possible can we derive equation from tat graph??......

this is the data
x y z
13 50 9.72
13.5 65 5.63
14 70 4.5
14.5 80 3.68
         90 1.7

if possible plzzz write the commands which i should use.......

regards
shanthi

Subject: help needed.....

From: Sean

Date: 6 May, 2010 11:54:04

Message: 2 of 3

"shanthi " <shanthi.13531@gmail.com> wrote in message <hru9ms$81g$1@fred.mathworks.com>...
> guys is to possible to plot 3D graphs in Matlab?????......and if possible can we derive equation from tat graph??......
>
> this is the data
> x y z
> 13 50 9.72
> 13.5 65 5.63
> 14 70 4.5
> 14.5 80 3.68
> 90 1.7
>
> if possible plzzz write the commands which i should use.......
>
> regards
> shanthi

Yes:
x = 13:.5:15;
y = [50 65 70 80 90];
z = [9.72 5.63 4.5 3.68 1.7];

plot3(x,y,z,'r*')

%If you have curve fitting tool box:
>>cftool
>>sftool

Subject: help needed.....

From: shanthi

Date: 6 May, 2010 12:38:03

Message: 3 of 3

"Sean " <sean.dewolski@nospamplease.umit.maine.edu> wrote in message <hruaks$8tj$1@fred.mathworks.com>...
> "shanthi " <shanthi.13531@gmail.com> wrote in message <hru9ms$81g$1@fred.mathworks.com>...
> > guys is to possible to plot 3D graphs in Matlab?????......and if possible can we derive equation from tat graph??......
> >
> > this is the data
> > x y z
> > 13 50 9.72
> > 13.5 65 5.63
> > 14 70 4.5
> > 14.5 80 3.68
> > 90 1.7
> >
> > if possible plzzz write the commands which i should use.......
> >
> > regards
> > shanthi
>
> Yes:
> x = 13:.5:15;
> y = [50 65 70 80 90];
> z = [9.72 5.63 4.5 3.68 1.7];
>
> plot3(x,y,z,'r*')
>
> %If you have curve fitting tool box:
> >>cftool
> >>sftool

thanks a lot!!!!!!!!!!!!!!!!!!!!!!

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us