1answer
0 votes

Why am I getting the error : Operands to the || and && operators must be convertible to logical scalar values for the below code?

Asked by Ellie Hall

Ellie Hall

on 29 Jan 2015 at 19:26
Latest activity Edited by Andrei Bobrov

Andrei Bobrov

on 29 Jan 2015 at 20:13
1answer
0 votes

How to use the if condition in matlab?

Asked by Abirami

Abirami

on 28 Jan 2015 at 18:54
Latest activity Commented on by Abirami

Abirami

on 29 Jan 2015 at 4:07
1answer
0 votes

How to make an if : (NOT this AND that OR here AND there OR etc AND etc) statement

Asked by Samuel Davies

Samuel Davies

on 27 Jan 2015 at 1:03
Latest activity Answered by Image Analyst

Image Analyst

on 27 Jan 2015 at 3:22
Accepted Answer by Image Analyst

Image Analyst

1answer
0 votes

Equally plotting columns (where possible) in a certain number of figures? Number of figures not a factor of number of columns?

Asked by Mary292

Mary292

on 22 Jan 2015 at 18:30
Latest activity Commented on by Mary292

Mary292

on 22 Jan 2015 at 19:30
Accepted Answer by Chris

Chris

2answers
0 votes

variable in if statement is undefined on some execution paths

Asked by ameen

ameen

on 22 Jan 2015 at 11:13
Latest activity Answered by John D'Errico

John D'Errico

on 22 Jan 2015 at 16:37
Accepted Answer by David Young

David Young

0answers
0 votes

Switch case for subsystem ?

Asked by Isaiah De Freitas

Isaiah De Freitas

on 19 Jan 2015 at 16:20
Products
1answer
1 vote

My functin wont run my if statement. How do I fix this?

Asked by Jamil

Jamil

on 14 Jan 2015 at 17:38
Latest activity Edited by Sean de Wolski

Sean de Wolski

on 14 Jan 2015 at 17:41
0answers
0 votes

PWM using logic statements

Asked by Yiangos

Yiangos

on 13 Jan 2015 at 20:05
2answers
0 votes

How to split columns up into different numbers of figures?

Asked by Mary292

Mary292

on 13 Jan 2015 at 15:17
Latest activity Edited by Star Strider

Star Strider

on 13 Jan 2015 at 18:47
1answer
0 votes

Check if variable exists in workspace to plot variable, else generate error

Asked by Maarten

Maarten

on 9 Jan 2015 at 8:56
Latest activity Commented on by per isakson

per isakson

on 9 Jan 2015 at 9:32
Accepted Answer by per isakson

per isakson

Products
2answers
0 votes

Need help with If statement

Asked by Aftab Ahmed Khan

Aftab Ahmed Khan

on 31 Dec 2014
Latest activity Edited by Jan Simon

Jan Simon

on 31 Dec 2014
2answers
0 votes

Combined value of different arrays with constraints

Asked by Andreas Volden

Andreas Volden

on 19 Dec 2014
Latest activity Commented on by Andreas Volden

Andreas Volden

on 20 Dec 2014
Accepted Answer by Thorsten

Thorsten

0answers
0 votes

can the conditions of if or while loop be negative float numbers?

Asked by Hamza

Hamza

on 17 Dec 2014
Latest activity Commented on by Guillaume

Guillaume

on 17 Dec 2014
3answers
0 votes

How to execute statements within functions in a random order?

Asked by Bex G

Bex G

on 8 Dec 2014
Latest activity Commented on by David Young

David Young

on 15 Dec 2014
1answer
0 votes

Can I nest an if statement in a for loop?

Asked by Michael

Michael

on 11 Dec 2014
Latest activity Commented on by Adam

Adam

on 11 Dec 2014
Accepted Answer by Adam

Adam

1answer
0 votes

Simple for and if loop got wrong...

Asked by buer

buer

on 11 Dec 2014
Latest activity Commented on by buer

buer

on 11 Dec 2014
Accepted Answer by Guillaume

Guillaume

2answers
0 votes

Plotting piece-wise functions with absolute value????

Asked by Michelle

Michelle

on 8 Dec 2014
Latest activity Edited by David Young

David Young

on 8 Dec 2014
1answer
0 votes

Help with script w/ more than one equation?

Asked by Pam

Pam

on 23 Nov 2014
Latest activity Commented on by Star Strider

Star Strider

on 23 Nov 2014
Accepted Answer by Star Strider

Star Strider

1answer
0 votes
1answer
0 votes

Write and Test 3 functions to convert month number to month name

Asked by Jim Hamill

Jim Hamill

on 20 Nov 2014
Latest activity Commented on by Star Strider

Star Strider

on 20 Nov 2014
1answer
0 votes

Modifying matrix with if statement

Asked by Alejandro

Alejandro

on 12 Nov 2014
Latest activity Commented on by Alejandro

Alejandro

on 12 Nov 2014
Accepted Answer by Roger Stafford

Roger Stafford

2answers
0 votes

constrain surf() plot region

Asked by Pete

Pete

on 10 Nov 2014
Latest activity Commented on by Kelly Kearney

Kelly Kearney

on 11 Nov 2014
Accepted Answer by Kelly Kearney

Kelly Kearney

2answers
0 votes

The code is unreachable.

Asked by samir

samir

on 9 Nov 2014
Latest activity Commented on by Image Analyst

Image Analyst

on 9 Nov 2014
Accepted Answer by per isakson

per isakson

Products
1answer
0 votes
1answer
0 votes

Loop problem / issue with variables

Asked by mt

mt

on 4 Nov 2014
Latest activity Commented on by mt

mt

on 4 Nov 2014
Accepted Answer by Guillaume

Guillaume

3answers
0 votes

Indexing Error's line 65

Asked by Zack Bayhan

Zack Bayhan

on 3 Nov 2014
Latest activity Commented on by Star Strider

Star Strider

on 4 Nov 2014
Accepted Answer by Star Strider

Star Strider

2answers
0 votes
1answer
0 votes

Help me differentiate between two codes??

Asked by Radhika

Radhika

on 22 Oct 2014
Latest activity Commented on by Radhika

Radhika

on 30 Oct 2014
Accepted Answer by Matt Tearle

Matt Tearle

1answer
0 votes

if x==2.4 not working

Asked by Nabhdeep Bansal

Nabhdeep Bansal

on 27 Oct 2014
Latest activity Commented on by Nabhdeep Bansal

Nabhdeep Bansal

on 27 Oct 2014
Accepted Answer by Azzi Abdelmalek

Azzi Abdelmalek

Products
1answer
0 votes

Writing a script that tells you the quadrant of the coordinates

Asked by Seth

Seth

on 26 Oct 2014
Latest activity Answered by Rashmil Dahanayake

Rashmil Dahanayake

on 26 Oct 2014
1answer
0 votes

How can I sort data in a loop with an if selection structure?

Asked by Michael Toney

Michael Toney

on 21 Oct 2014
Latest activity Answered by Mohammad Abouali

Mohammad Abouali

on 22 Oct 2014
Products
1answer
0 votes

how to speed this nested loop or to get it around completely

Asked by Quantopic

Quantopic

on 20 Oct 2014
Latest activity Commented on by Julia

Julia

on 21 Oct 2014
1answer
0 votes

Need help looking for local minimum on a parabola

Asked by Rascad

Rascad

on 12 Oct 2014
Latest activity Commented on by Star Strider

Star Strider

on 16 Oct 2014
Accepted Answer by Star Strider

Star Strider

1answer
0 votes

Using a statement to identify a specific matrix with a given range of values.

Asked by Anson Hancock

Anson Hancock

on 16 Oct 2014
Latest activity Edited by Orion

Orion

on 16 Oct 2014
4answers
0 votes

Comparing two numbers by using IF in Matlab

Asked by Jamal Ahmad

Jamal Ahmad

on 15 Oct 2014
Latest activity Answered by Image Analyst

Image Analyst

on 15 Oct 2014
Accepted Answer by Iain

Iain

1answer
0 votes

How to sum only the positive elements in a vector using an If-Statement?

Asked by Jason

Jason

on 7 Oct 2014
Latest activity Commented on by Geoff Hayes

Geoff Hayes

on 7 Oct 2014
1answer
0 votes

matlabFunction, using symbolic variables and if statements

Asked by Pascale

Pascale

on 3 Oct 2014
Latest activity Commented on by Pascale

Pascale

on 7 Oct 2014
1answer
0 votes

If statement with an greater than comparison

Asked by James

James

on 6 Oct 2014
Latest activity Commented on by José-Luis

José-Luis

on 6 Oct 2014
Accepted Answer by Guillaume

Guillaume

1answer
0 votes

If statment with multiple conditions

Asked by Caprice Corlew

Caprice Corlew

on 3 Oct 2014
Latest activity Edited by Mohammad Abouali

Mohammad Abouali

on 3 Oct 2014
1answer
0 votes

How to do this part of programming ... ?

Asked by Maria

Maria

on 30 Sep 2014
Latest activity Commented on by Michael Haderlein

Michael Haderlein

on 1 Oct 2014
3answers
0 votes

If Condition with array of elements

Asked by Uday padidela

Uday padidela

on 26 Sep 2014
Latest activity Answered by David Young

David Young

on 28 Sep 2014
Accepted Answer by Guillaume

Guillaume

Products
2answers
0 votes

Creating new vector and using IF correct or loop?

Asked by Daniel

Daniel

on 25 Sep 2014
Latest activity Edited by Andrei Bobrov

Andrei Bobrov

on 25 Sep 2014
Accepted Answer by Adam

Adam

1answer
0 votes

Problem with multiple if conditions....

Asked by Jules Ray

Jules Ray

on 15 Sep 2014
Latest activity Commented on by Jules Ray

Jules Ray

on 16 Sep 2014
Accepted Answer by David Young

David Young

2answers
0 votes

How to find a trend in a sequence?

Asked by Ashish

Ashish

on 11 Sep 2014
Latest activity Edited by Star Strider

Star Strider

on 11 Sep 2014
1answer
0 votes

What is the computational cost of an nargin check?

Asked by Zoltán Csáti

Zoltán Csáti

on 6 Sep 2014
Latest activity Answered by Stephen Cobeldick

Stephen Cobeldick

on 6 Sep 2014
Products

Contact us