Vous êtes sur la page 1sur 2

Tarea 1

Diary on
a=[1 -1 3 8; 2 1 4 11; -1 2 -4 -11]
a =
1
2
-1

-1
1
2

3
4
-4

8
11
-11

det(a)
{Error using <a href="matlab:helpUtils.errorDocCallback('det')"
style="font-weight:bold">det</a>
Matrix must be square.
}
a'
ans =
1
-1
3
8

2
1
4
11

-1
2
-4
-11

det (a)
{Error using <a href="matlab:helpUtils.errorDocCallback('det')"
style="font-weight:bold">det</a>
Matrix must be square.
}
A=[1 -1 3 8; 2 1 4 11; -1 2 -4 -11]
A =
1
2
-1

-1
1
2

3
4
-4

8
11
-11

inv (A)
{Error using <a href="matlab:helpUtils.errorDocCallback('inv')"
style="font-weight:bold">inv</a>
Matrix must be square.
}
inv[A]
inv[A]
|
{Error: Unbalanced or unexpected parenthesis or bracket.
}
inv (A)
{Error using <a href="matlab:helpUtils.errorDocCallback('inv')"
style="font-weight:bold">inv</a>
Matrix must be square.
}
inversa (A)

{Undefined function 'inversa' for input arguments of type 'double'.


}
% x^6/6+(6*x^5)/5-(3*x^4)/4-(2*x^3)/3+3*x^2-5*x+1
y= x^6/6+(6*x^5)/5-(3*x^4)/4-(2*x^3)/3+3*x^2-5*x+1
{Undefined function or variable 'x'.
}
x= x^6/6+(6*x^5)/5-(3*x^4)/4-(2*x^3)/3+3*x^2-5*x+1
{Undefined function or variable 'x'.
}
Y= x^6/6+(6*x^5)/5-(3*x^4)/4-(2*x^3)/3+3*x^2-5*x+1
{Undefined function or variable 'x'.
}
Y=x^6/6+(6*x^5)/5-(3*x^4)/4-(2*x^3)/3+3*x^2-5*x+1
{Undefined function or variable 'x'.
}
Y=x.^6/6+(6*x.^5)/5-(3*x.^4)/4-(2*x.^3)/3+3*x.^2-5*x+1
{Undefined function or variable 'x'.
}
diary off

Vous aimerez peut-être aussi