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:
what does wpl means

Subject: what does wpl means

From: Jess J

Date: 18 Jan, 2009 14:59:01

Message: 1 of 4

Hi all,

Can anyone tell me what does wpl=0 means?

Thanks in advance.

Best Regards,
Jess

Subject: what does wpl means

From: NZTideMan

Date: 18 Jan, 2009 20:55:23

Message: 2 of 4

On Jan 19, 3:59=A0am, "Jess J" <jessie_...@yahoo.co.uk> wrote:
> Hi all,
>
> Can anyone tell me what does wpl=3D0 means?
>
> Thanks in advance.
>
> Best Regards,
> Jess

It means set to zero all the elements of the scalar, vector, matrix,
or multi-dimensional array wpl. And since there is no semicolon, it
will display the results on the console.

Subject: what does wpl means

From: Walter Roberson

Date: 19 Jan, 2009 03:05:35

Message: 3 of 4

NZTideMan wrote:
> On Jan 19, 3:59 am, "Jess J" <jessie_...@yahoo.co.uk> wrote:

>> Can anyone tell me what does wpl=0 means?

> It means set to zero all the elements of the scalar, vector, matrix,
> or multi-dimensional array wpl. And since there is no semicolon, it
> will display the results on the console.

Unless perhaps wpl is an object, wpl will be -replaced- by a single
1 x 1 double precision zero, discarding all previous size and
shape and type information (and the result would be displayed).

To set all of the elements of wpl, the statement would have had to
have been wpl(:)=0



--
.signature note: I am now avoiding replying to unclear or ambiguous postings.
Please review questions before posting them. Be specific. Use examples of what you mean,
of what you don't mean. Specify boundary conditions, and data classes and value
relationships -- what if we scrambled your data or used -Inf, NaN, or complex(rand,rand)?

Subject: what does wpl means

From: NZTideMan

Date: 19 Jan, 2009 03:47:03

Message: 4 of 4

On Jan 19, 4:05=A0pm, Walter Roberson <rober...@hushmail.com> wrote:
> NZTideMan wrote:
> > On Jan 19, 3:59 am, "Jess J" <jessie_...@yahoo.co.uk> wrote:
> >> Can anyone tell me what does wpl=3D0 means?
> > It means set to zero all the elements of the scalar, vector, matrix,
> > or multi-dimensional array wpl. And since there is no semicolon, it
> > will display the results on the console.
>
> Unless perhaps wpl is an object, wpl will be -replaced- by a single
> 1 x 1 double precision zero, discarding all previous size and
> shape and type information (and the result would be displayed).
>
> To set all of the elements of wpl, the statement would have had to
> have been wpl(:)=3D0
>
> --
> .signature note: I am now avoiding replying to unclear or ambiguous posti=
ngs.
> Please review questions before posting them. Be specific. Use examples of=
 what you mean,
> of what you don't mean. Specify boundary conditions, and data classes and=
 value
> relationships -- what if we scrambled your data or used -Inf, NaN, or com=
plex(rand,rand)?

Hey Walter
Questions don't get much "vaguer" than this one, eh?

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