Resuelto


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...

más de 1 año hace

Resuelto


Lista Ordenada
Dado um vetor V, verifique se o vetor está ordenado, retorne true ou false. Ordenado([1 2 3 4]) = true;

más de 1 año hace

Resuelto


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 ...

más de 1 año hace

Resuelto


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'...

más de 1 año hace

Resuelto


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])...

más de 1 año hace

Resuelto


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)...

más de 1 año hace

Resuelto


Maior Primo
Dado um valor inteiro N, qual o maior valor primo <= N MaiorPrimo(5) = 5; MaiorPrimo(10) = 7;

más de 1 año hace

Resuelto


Find out if Quadratic Equation has real roots or not?
Input [a b c] ax^2+bx+c=0 Output [1 or 0] 1= Quadratic Equation has real roots 0= Quadratic Equation has imaginary roots

más de 1 año hace

Resuelto


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

más de 1 año hace

Resuelto


Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

más de 1 año hace

Resuelto


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...

más de 1 año hace

Resuelto


Fun with matrix
Design a sample matrix as given in the test cases

más de 1 año hace

Resuelto


Congruent
Given two numbers, check whether they are congruent to each other or not for a particular value N.

más de 1 año hace

Resuelto


Tiling a matrix
Given a matrix and a number of columns, replicate matrix in a single row

más de 1 año hace

Resuelto


Covering area
As an extension of the problem <http://www.mathworks.com/matlabcentral/cody/problems/416-polygon-area>, find the area, bounded b...

más de 1 año hace

Resuelto


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...

más de 1 año hace

Resuelto


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...

más de 1 año hace

Resuelto


Draw a '6' in a zero matrix!

más de 1 año hace

Resuelto


Draw a '9' in a zero matrix!

más de 1 año hace

Resuelto


Draw a '7' in a zero matrix!

más de 1 año hace

Resuelto


Draw a '8' in a zero matrix!

más de 1 año hace

Resuelto


Draw a '5' in a zero matrix!

más de 1 año hace

Resuelto


Draw a '4' in a zero matrix!

más de 1 año hace

Resuelto


Draw a '3' in a zero matrix!

más de 1 año hace

Resuelto


Draw a '2' in a zero matrix!

más de 1 año hace

Resuelto


Draw a '1' in a zero matrix!

más de 1 año hace

Resuelto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

más de 1 año hace

Resuelto


Converts numbers into characters
Converts numbers into characters

más de 1 año hace

Resuelto


Find the max element of the array
Find the max element of the array

más de 1 año hace

Cargar más