surface fitting tool #2

  • Follow


Hi members..newbie in matlab and already facing challenges.
I just want to use the surface fitting tool in matlab r2010a. 
My data comes from an matrix (table) with m lines and n cols. 
When i load the sftool i can read x and y but Matlab does not want to load my Z var. 

I must be clearly doing something wrong.. as my issue is exactly as defined in the example of  the help files...

x = linspace( 0, 1, 7 );
    y = linspace( 0, 1, 9 ).';
    z = bsxfun( @franke, x, y );

but even with these variables i cannot load z values in the surface fitting tool. What is wrong with this simple task? 

PS. The only cases working are when x,y,z are column vectors. But my data is a matrix as it has been exported as ascii from an image. 
0
Reply juan 11/30/2010 12:02:04 AM


"juan lo" <jp_ardila@yahoo.com> wrote in message 
news:id1ets$hmc$1@fred.mathworks.com...
> Hi members..newbie in matlab and already facing challenges.
> I just want to use the surface fitting tool in matlab r2010a. My data 
> comes from an matrix (table) with m lines and n cols. When i load the 
> sftool i can read x and y but Matlab does not want to load my Z var.

What does "does not want to load my Z var" mean?  Does it throw a warning? 
Does it throw an error?  Does it shut down MATLAB?  Does it power down your 
computer?  Does it knock out internet service to your neighborhood?

If it throws a warning or error, what is the FULL, EXACT text of the warning 
or error?  [No paraphrasing!]

-- 
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on 
http://www.mathworks.com 

0
Reply Steven_Lord 11/30/2010 3:14:55 PM


Hi 
I have a similar problem. 
I have 3 3 matrix in my workspace. X, Y and Z. the one with Single column are automatically shown in the drop down menu of the sftoolbox, but Z (which has multiple rows and columns) does not show up.

No error messages or internet shutdown across neighborhood. 
Will appreciate any help on this. 


"juan lo" <jp_ardila@yahoo.com> wrote in message <id1ets$hmc$1@fred.mathworks.com>...
> Hi members..newbie in matlab and already facing challenges.
> I just want to use the surface fitting tool in matlab r2010a. 
> My data comes from an matrix (table) with m lines and n cols. 
> When i load the sftool i can read x and y but Matlab does not want to load my Z var. 
> 
> I must be clearly doing something wrong.. as my issue is exactly as defined in the example of  the help files...
> 
> x = linspace( 0, 1, 7 );
>     y = linspace( 0, 1, 9 ).';
>     z = bsxfun( @franke, x, y );
> 
> but even with these variables i cannot load z values in the surface fitting tool. What is wrong with this simple task? 
> 
> PS. The only cases working are when x,y,z are column vectors. But my data is a matrix as it has been exported as ascii from an image. 
0
Reply Neelakshi 12/1/2010 8:00:25 PM

Hi 
I have a similar problem. 
I have 3 3 matrix in my workspace. X, Y and Z. the one with Single column are automatically shown in the drop down menu of the sftoolbox, but Z (which has multiple rows and columns) does not show up.

No error messages or internet shutdown across neighborhood. 
Will appreciate any help on this. 


"juan lo" <jp_ardila@yahoo.com> wrote in message <id1ets$hmc$1@fred.mathworks.com>...
> Hi members..newbie in matlab and already facing challenges.
> I just want to use the surface fitting tool in matlab r2010a. 
> My data comes from an matrix (table) with m lines and n cols. 
> When i load the sftool i can read x and y but Matlab does not want to load my Z var. 
> 
> I must be clearly doing something wrong.. as my issue is exactly as defined in the example of  the help files...
> 
> x = linspace( 0, 1, 7 );
>     y = linspace( 0, 1, 9 ).';
>     z = bsxfun( @franke, x, y );
> 
> but even with these variables i cannot load z values in the surface fitting tool. What is wrong with this simple task? 
> 
> PS. The only cases working are when x,y,z are column vectors. But my data is a matrix as it has been exported as ascii from an image. 
0
Reply Neelakshi 12/1/2010 8:02:05 PM

3 Replies
537 Views

(page loaded in 0.966 seconds)

Similiar Articles:













7/27/2012 6:32:58 PM


Reply: