Skip to main content
1-Visitor
Nov 15, 2011 9:19 AM UTC
Solved

This value must be a vector?

$159ECF45A22750A9.bmp

Can somebody point out where did i miss out in my program above? if I try "f" above using matrix "a", I get an error, but when I try "f1" using "b", its fine.

1-Visitor
Nov 15, 2011 9:46 AM UTC

Sorry, I didn't see your post beofore I posted. Please see attached.

Clipboard01.jpg

Mike

5 replies

24-Ruby IV
Nov 15, 2011 9:21 AM UTC

Please, attach a worksheet.

Translate
1-Visitor
Nov 15, 2011 9:26 AM UTC

As Vladimir said please provide a worksheet.

But I can see the problem without one, a is a matrix and b is a vector. You need to specify which column of a you want to look in or write a program to search through both columns.

Mike

Translate
Bartz871-VisitorAuthor
1-Visitor
Nov 15, 2011 9:38 AM UTC

$5FC694D263F9B0B8.bmp

I think I understand a little bit what you mean mike....the above is what I've got, the result of something like "f" is what I wanted.

thanks....

Translate
1-Visitor
Nov 15, 2011 9:40 AM UTC

Have a look at the attached.

Mike

Translate
1-Visitor
Nov 15, 2011 9:46 AM UTC

Sorry, I didn't see your post beofore I posted. Please see attached.

Clipboard01.jpg

Mike

Translate