Juros Compostos
Faça uma função que receba um capital inicial (C), uma taxa de juros a ser aplicada (i) e um tempo (t) para qual será aplicado o...
1年以上 前
解決済み
Lista Ordenada
Dado um vetor V, verifique se o vetor está ordenado, retorne true ou false.
Ordenado([1 2 3 4]) = true;
1年以上 前
解決済み
Triangulo Semelhante
Dados dois vetores A = (a1, a2, a3) e B = (b1, b2, b3) sendo referentes a arestas de triangulos. Verifique se os triangulos são ...
1年以上 前
解決済み
Tipos de Triangulos
Dados os tamanhos dos lados de um triangulos A, B e C. Retorne qual o tipo do triangulo: 'equilátero', 'escaleno' ou 'isósceles'...
1年以上 前
解決済み
Remove Repetidos e Ordena
Dado um vetor A, remove todos os valores repetidos deixando apenas 1 valor, e ordene o vetor.
RemoveRepetidosEOrdena([1 1 2 3])...
1年以上 前
解決済み
Distancia Vetores
Dados dois vetores a = (x1, y1) e b = (x2, y2). Calcule a distância entre os vetores e verifique se estão perto (distancia < 10)...
1年以上 前
解決済み
Maior Primo
Dado um valor inteiro N, qual o maior valor primo <= N
MaiorPrimo(5) = 5;
MaiorPrimo(10) = 7;
Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example
start with x = 1 and y = 3
end with y = 1 and x = 3
Do NOT simply r...
1年以上 前
解決済み
Fun with matrix
Design a sample matrix as given in the test cases
1年以上 前
解決済み
Congruent
Given two numbers, check whether they are congruent to each other or not for a particular value N.
1年以上 前
解決済み
Tiling a matrix
Given a matrix and a number of columns, replicate matrix in a single row
1年以上 前
解決済み
Covering area
As an extension of the problem <http://www.mathworks.com/matlabcentral/cody/problems/416-polygon-area>, find the area, bounded b...
1年以上 前
解決済み
Are you in or are you out?
Given vertices specified by the vectors xv and yv, and a single point specified by the numbers X and Y, return "true" if the poi...
1年以上 前
解決済み
Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be.
Ex...