octave-maintainers
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
symbolic true
From
:
Doug Stewart
Subject
:
symbolic true
Date
:
Wed, 10 Jun 2015 23:05:51 -0400
using this code:
clear
syms p a b
digits(47);
b=vpa("1.00000")
a=vpa("3.90000")
b<a
a<b
if ( b<a)
p="100"
else
p="400"
endif
After running this p should be 100 but it isn't.
The if statement always goes to the false condition!!
How can I make the if statement work with a
(sym) True
Doug
--
DAS
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
symbolic true
,
Doug Stewart
<=
Re: symbolic true
,
Colin Macdonald
,
2015/06/11
Re: symbolic true
,
Doug Stewart
,
2015/06/11
Prev by Date:
Re: Unable to install 4.0 with Ubuntu
Next by Date:
Re: Unable to install 4.0 with Ubuntu
Previous by thread:
--no-gui-libs does not kill fltk graphics_toolkit on windows
Next by thread:
Re: symbolic true
Index(es):
Date
Thread