解決済み


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;

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


Draw a '6' in a zero matrix!

1年以上 前

解決済み


Draw a '9' in a zero matrix!

1年以上 前

解決済み


Draw a '7' in a zero matrix!

1年以上 前

解決済み


Draw a '8' in a zero matrix!

1年以上 前

解決済み


Draw a '5' in a zero matrix!

1年以上 前

解決済み


Draw a '4' in a zero matrix!

1年以上 前

解決済み


Draw a '3' in a zero matrix!

1年以上 前

解決済み


Draw a '2' in a zero matrix!

1年以上 前

解決済み


Draw a '1' in a zero matrix!

1年以上 前

解決済み


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

1年以上 前

解決済み


Converts numbers into characters
Converts numbers into characters

1年以上 前

解決済み


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

1年以上 前

さらに読み込む