The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: plot or mesh or ?
Replies: 5   Last Post: Jan 8, 2013 5:05 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Tony Kittler

Posts: 109
Registered: 2/5/11
Re: plot or mesh or ?
Posted: Jan 8, 2013 5:05 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Carl S." wrote in message <kcgphp$3ns$>...
> "Carl S." wrote in message <kc5n5u$2dn$>...
> > "Carl S." wrote in message <kc3b62$pqe$>...
> > > "Aditya" wrote in message <kc2q9s$21b$>...
> > > > Hi Carl,
> > > > It all depends on the value of phi1. I created phi1 as ones(256,256) and I get a white square (f1), black square(f) and black square(b) when I plot using imshow.
> > > >
> > > > It would be helpful to know a little more details. Are you not seeing anything or are you not seeing what you expect?
> > > >
> > > > Adi

> > >
> > > Hi Adi,
> > >
> > > phi1 is a grayscale image. I want to understand the meaning of the codes for different grayscale images. So, I am trying to see how f1, b and f seems. So, I am trying to figure out but I dont know matlab well. Could you help me how can we see f1, b and f

> >
> > I have tried surf(f1), mesh(b) but their outputs seem as not a signal or any meaninful shape (I could not comment them). How should I use these commands or is there any other useful command instead of mesh, surf for this case ?

> Hi,
> I thought that the above codes returns dirac of the given phi1 image. Is it right ? But, I still need to see the shapes of f1,b and f.
> Could you please help me

Could you please use the following phi1 and help me to find the correct function which will be more useful to see the shapes of f1, b2 and f, and to understand the above codes
phi1 = ones(size(Img));
phi1(90:145, 70:115) = -1;
phi1 = (phi1 >= 0) - (phi1< 0);
phi1 = conv2(phi1, G, 'same');

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.