已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已解决


Draw a '6' in a zero matrix!

3 years 前

已解决


Draw a '9' in a zero matrix!

3 years 前

已解决


Draw a '7' in a zero matrix!

3 years 前

已解决


Draw a '8' in a zero matrix!

3 years 前

已解决


Draw a '5' in a zero matrix!

3 years 前

已解决


Draw a '4' in a zero matrix!

3 years 前

已解决


Draw a '3' in a zero matrix!

3 years 前

已解决


Draw a '2' in a zero matrix!

3 years 前

已解决


Draw a '1' in a zero matrix!

3 years 前

已解决


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

3 years 前

已解决


Converts numbers into characters
Converts numbers into characters

3 years 前

已解决


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

3 years 前

加载更多