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: 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 ]

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


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

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]

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