[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nonconformant arguments
From: |
Przemek Klosowski |
Subject: |
Re: nonconformant arguments |
Date: |
Thu, 6 Jun 2013 11:55:37 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
On 06/06/2013 10:12 AM, asha g wrote:
ffdb2(ii) = ((Bfd*(VVb2(ii+2)-VVb2(ii-2)))./(4*hb21)) +
(Afd*(VVb2(ii+1)-VVb2(ii-1)))./(2*hb21);
Please give us something to work with. I get this error for 'a+b':
error: operator +: nonconformant arguments (op1 is 1x3, op2 is 1x2)
The error message indicates there was something wrong with the
arguments, just like in your case, but that's about all that can be
said. Now if I show you that I did a=[1 2 3]; b=[1 2]; it is much
clearer what is my confusion.
It is much easier and more productive to help someone who shows a
concise and complete session that can be reproduced. You correctly
provide your code, but no data. Please help us help you by showing a
complete session that I could cut and paste into my octave and see the
error you're getting. Bonus points if you reduce it to short code (one
to few lines). Not only will you get an answer sooner when you make an
effort to explain and distill your problem to a short test case, I
guarantee you that you will often find the mistake yourself.
- nonconformant arguments, asha g, 2013/06/06
- Re: nonconformant arguments, Doug Stewart, 2013/06/06
- nonconformant arguments, asha g, 2013/06/06
- Re: nonconformant arguments,
Przemek Klosowski <=
- Re: nonconformant arguments, asha g, 2013/06/07
- Message not available
- Re: nonconformant arguments, asha g, 2013/06/08
- Re: nonconformant arguments, asha g, 2013/06/10
- Re: nonconformant arguments, Przemek Klosowski, 2013/06/11
- Re: nonconformant arguments, c., 2013/06/11