Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: isdag(biograph), problem with matrix input.

$
0
0
"Nasser M. Abbasi" <nma@12000.org> wrote in message <k8q96g$kfo$1@speranza.aioe.org>...

> No. You do not insert lookfor in your program.
>
> It is a command you type on the console to see where this function
> isdag()is
>
> Just type
>
> lookfor isdag
>
> on its own, on the Matlab command line and show the result.
>
> help lookfor
>

i wrote on a command window lookfor isdag, then i run the program, but i still have problems:

>> lookfor isdag
graphisdag - tests for cycles in a directed graph.
input your matrix[1 0 1;1 1 1;1 0 1]
??? Undefined function or method 'isdag' for input arguments of type 'double'.

Error in ==> Untitled at 4
isdag(matrix);

I think matLab has default argument type double, and i need somehow change it to integer, but am not sure.

Viewing all articles
Browse latest Browse all 19628

Trending Articles