1. One+One = 50?
Sorry, I don't know if this type of debugging problem is appropriate
for this forum, but if so, here goes:
I've always thought 1+1=2, until today that is when Matlab is trying
to tell me it is 50. This is Matlab ver 6.0 which I have been using
for about 2.5 years without ever seeing a problem like this.
My function is called fsav. A 3 line code snippet from it is:
xyz = f1+1
fff = floc(xyz)
When I start the program, this is what I see in the command window:
End of file reached
??? Index exceeds matrix dimensions.
Error in ==> e:\mcode\misc\fsav.m
On line 144 ==> fff = floc(xyz)
??? Error while evaluating text ButtonDownFcn.
Isn't this saying that 1+1 = 50 ?
Pretty radical huh. I suppose the 3 line code snippet won't be
enough, but my function is 358 lines - too long to post here I
would think. If someone is curious enough to look at my function
you can find it on my web site at:
If you actually want to run it, you need a data file that it reads
in which you can get at:
You will see a figure with two text items.
Click on the first one, and you will see the above error message.
(Oh, I suppose you will have to edit line 12 "cd e:\flightsaver\data;"
to contain the directory name where you actually put the data file.)
Thanks in advance for any ideas you may have.
2. DSP Profilers?
3. DAQCard-AI-16XE-50 aquisition card
5. real-time windows target and pci-mio-16xe-50
6. Multicast between 2 4700
7. Newbie: Why does 1+1=50 in Matlab?
8. how to get all name of domines?
9. Save over 50%
10. Q. MEX>BAT for WATCOM v10.50?
11. ITU P.50 Artificial Voice
12. Q: plotting finite element mesh of 3-D elements: how?
13. bigger Matrix with matrix elements