Home › Forums › Stammtisch › MATLAB ipv FORTRAN
This topic contains 3 replies, has 2 voices, and was last updated by Pieter 20 years, 9 months ago.
-
AuthorPosts
-
July 19, 2004 at 12:15 #14404
??? diag(1 2 3 4)
|
Error: “)” expected, “numeric value” found.>> diag(1: 2: 3: 4)
Warning: Colon operands must be real scalars.
(Type “warning off MATLAB:colon:operandsNotRealScalar” to suppress this warning.)
ans =
1 0 0 0
0 2 0 0
0 0 3 0
0 0 0 4
>> T=%5B3 4;1 8;-4 3%5D; A%5Bdaig(-1;2:30 T; -4 4 2 1%5D
??? T=%5B3 4;1 8;-4 3%5D; A%5Bdaig(-1;2:30 T; -4 4 2 1%5D
|
Error: Missing operator, comma, or semicolon.>> T=%5B3 4;1 8;-4 3%5D; A%5Bdiag(-1;2:30 T; -4 4 2 1%5D
??? T=%5B3 4;1 8;-4 3%5D; A%5Bdiag(-1;2:30 T; -4 4 2 1%5D
|
Error: Missing operator, comma, or semicolon.>> T=%5B3 4;1 8;-4 3%5D; A=%5Bdiag(-1;2:30 T; -4 4 2 1%5D
??? T=%5B3 4;1 8;-4 3%5D; A=%5Bdiag(-1;2:30 T; -4 4 2 1%5D
|
Error: “)” expected, “;” found.>> T=%5B3 4;1 8;-4 3%5D; A=%5Bdiag(-1:2:30 T; -4 4 2 1%5D
??? T=%5B3 4;1 8;-4 3%5D; A=%5Bdiag(-1:2:30 T; -4 4 2 1%5D
|
Error: “)” expected, “identifier” found.>> T=%5B3 4;1 8;-4 3%5D; A=%5Bdiag(-1:2:3) T; -4 4 2 1%5D
??? Error using ==> vertcat
All rows in the bracketed expression must have the same
number of columns.July 20, 2004 at 09:52 #18901En jij dacht dat ik dit wel snap?
> ??? diag(1 2 3 4)
> |
> Error: “)” expected, “numeric value” found.
>
> >> diag(1: 2: 3: 4)
> Warning: Colon operands must be real scalars.
> (Type “warning off MATLAB:colon:operandsNotRealScalar” to suppress this warning.)
> ans =
> 1 0 0 0
> 0 2 0 0
> 0 0 3 0
> 0 0 0 4
> >> T=%5B3 4;1 8;-4 3%5D; A%5Bdaig(-1;2:30 T; -4 4 2 1%5D
> ??? T=%5B3 4;1 8;-4 3%5D; A%5Bdaig(-1;2:30 T; -4 4 2 1%5D
> |
> Error: Missing operator, comma, or semicolon.
>
> >> T=%5B3 4;1 8;-4 3%5D; A%5Bdiag(-1;2:30 T; -4 4 2 1%5D
> ??? T=%5B3 4;1 8;-4 3%5D; A%5Bdiag(-1;2:30 T; -4 4 2 1%5D
> |
> Error: Missing operator, comma, or semicolon.
>
> >> T=%5B3 4;1 8;-4 3%5D; A=%5Bdiag(-1;2:30 T; -4 4 2 1%5D
> ??? T=%5B3 4;1 8;-4 3%5D; A=%5Bdiag(-1;2:30 T; -4 4 2 1%5D
> |
> Error: “)” expected, “;” found.
>
> >> T=%5B3 4;1 8;-4 3%5D; A=%5Bdiag(-1:2:30 T; -4 4 2 1%5D
> ??? T=%5B3 4;1 8;-4 3%5D; A=%5Bdiag(-1:2:30 T; -4 4 2 1%5D
> |
> Error: “)” expected, “identifier” found.
>
> >> T=%5B3 4;1 8;-4 3%5D; A=%5Bdiag(-1:2:3) T; -4 4 2 1%5D
> ??? Error using ==> vertcat
> All rows in the bracketed expression must have the same
> number of columns.July 20, 2004 at 09:56 #18902…nee, je bent toch geoloog?
July 20, 2004 at 10:01 #18903Niet voor lang meer
> …nee, je bent toch geoloog?
-
AuthorPosts
You must be logged in to reply to this topic.