Resuelto


Find the function 2
Given a set of point (x,y) and the coordinate x of a new point, find the y value of new point. Test Suite is based on only one ...

más de 1 año hace

Resuelto


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

más de 1 año hace

Resuelto


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

más de 1 año hace

Resuelto


ASCii Code
Using Matlab get the ASCii for '?'

más de 1 año hace

Resuelto


Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

más de 1 año hace

Resuelto


Variable_Addition
be able to add any variable to the number one

más de 1 año hace

Resuelto


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

más de 1 año hace

Resuelto


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

más de 1 año hace

Resuelto


Box!
Given a box, find the volume of the cube. With each side = a.

más de 1 año hace

Resuelto


Find and replaces spaces from a input string with *
For a given input string str, find how many spaces are there in the string and replace those spaces with * e.g. str = 'this is ...

más de 1 año hace

Resuelto


Poly2mask, drawpolygon or patch
Recently, I tried to plot a polygon in matlab, and I found there is a lot of embedded function that can be used. However, some f...

más de 1 año hace

Resuelto


Dice face matrix!
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...

más de 1 año hace

Resuelto


Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

casi 2 años hace

Resuelto


Next Higher Power of B
|Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is greater than or equal to _n_. ...

casi 2 años hace

Resuelto


Build the Well
Calculate the total time taken for building 'n' wells given : Worker A takes a hr to build the well alone Worker B takes b hr...

casi 2 años hace

Resuelto


Bag of apples
find probabilty of getting red apples from a bag of 'r' red and 'g' green apples.

casi 2 años hace

Resuelto


Alternate Arrangement
Determine the ways of arranging 'm' men and 'w' women alternatively in a row of 's' seats. Assumptions : s<m and s<w

casi 2 años hace

Resuelto


Interior angles
Find the sum of interior angles for polygon of x sides.

casi 2 años hace

Resuelto


prime test 2
enter the only non prime,non composite number

casi 2 años hace

Resuelto


To convolve two vectors
To convolve two vectors

casi 2 años hace

Resuelto


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

casi 2 años hace

Resuelto


Letras Maisculas
Dado uma string A, retorne apenas os caracteres maiúsculos de A Maiusculas('Hello World') = 'HW';

casi 2 años 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])...

casi 2 años hace

Resuelto


Multiplos 7
Escreva um programa que mostre todos os números entre 5 e 100 que são divisíveis por 7, mas não são múltiplos de 5. Os números o...

casi 2 años hace

Resuelto


Loja de tintas
Faça um programa para uma loja de tintas. O programa deverá receber o tamanho em metros quadrados da área a ser pintada. Conside...

casi 2 años hace

Resuelto


Buzz
Dado um número inteiro n, retorne 'buzz' se esse valor for multiplo de 5, ou retorne o valor caso contrario. Buzz(5) = 'buzz'; ...

casi 2 años 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)...

casi 2 años hace

Resuelto


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

casi 2 años hace

Resuelto


Matrizes Multiplicaveis
Dadas duas matrizes M1 e M2, verifique se as matrizes podem ser multiplicadas uma pela outra M1 = [1 2 3; 4 5 6] M2 = [7; 8; 9...

casi 2 años hace

Resuelto


Fizz
Dado um número inteiro n, retorne 'fizz' se esse valor for multiplo de 3, ou retorne o valor caso contrario. Fizz(3) = 'fizz'; ...

casi 2 años hace

Cargar más