Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: convert vectors to scalars
Replies: 1   Last Post: Nov 26, 2013 12:14 PM

Advanced Search

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

Posts: 4
Registered: 11/25/13
convert vectors to scalars
Posted: Nov 25, 2013 8:15 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

I have problem with matlab
??? Operands to the || and && operators must be convertible to logical scalar
values.

Error in ==> program_glowny88 at 288
if (kaszel > smiech && kaszel > krzyk && kaszel> chrzakanie)

How should I convert vectors to scalars in my program. I don't have numbers only words (cough, grunt, laugh, speach)



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.