[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sum(null matrix) becomes null matrix not zero
From: |
che6yoh |
Subject: |
sum(null matrix) becomes null matrix not zero |
Date: |
Thu, 27 May 93 14:11:45 BST |
Dear Sirs,
I am very sorry to trouble often.
If I execute
>>a=[]
>>b=sum(a)
The result becomes b=[].
Is this specification of octave?
I expected b became zero like MATLAB.
I sent two other mails to address@hidden already.
1. The results of expm are strange.
Does the problem occure only on my system?
2. Is there any way to execute external programs from octave?
3. Is there any way to get ASCII code of each character in a
string?
I am looking forward to getting reply from you.
Yoshihiro Hashimoto
Dept. of Systems Eng., Nagoya Inst. of Tech.
address@hidden
[Now]Dept. of Chem. Eng., The Univ. of Leeds
address@hidden
--------------------------------------------------------------
The mail to address@hidden will be sent to
address@hidden automatically.
- sum(null matrix) becomes null matrix not zero,
che6yoh <=