A résolu


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

plus d'un an il y a

A résolu


Simple Interest : Calculate Future Value
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

plus d'un an il y a

A résolu


Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

plus d'un an il y a

A résolu


World Cup 2018 Prediction!
Which team will be the winner?

plus d'un an il y a

A résolu


Number Puzzle - 045

plus d'un an il y a

A résolu


Number Puzzle - 033

plus d'un an il y a

A résolu


Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...

plus d'un an il y a

A résolu


Ohmic Heating

plus d'un an il y a

A résolu


Alternate elements!
Write a function that combines two lists by alternating the elements, e.g. ['a','b','c'], ['1','2','3'] → 'a1b2c3'.

plus d'un an il y a

A résolu


Sales Tax

plus d'un an il y a

A résolu


Cody problems in French : Trouvez la logique Pt.2
Trouvez la logique entre x et y, aidez-vous de la test suite. Bon courage. P.S: L'utilisation de "^" est de nouveau fortement...

plus d'un an il y a

A résolu


Write a function to generate AND operation

plus d'un an il y a

A résolu


Determina el número de cifras de un número
Crea una función que te devuelva el número de cifras de un número. Algunos ejemplos para ayudarte serían: El número 125 tie...

plus d'un an il y a

A résolu


Simple Interest : Calculate time in years
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

plus d'un an il y a

A résolu


Simple Interest : Calculate annual simple interest rate
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

plus d'un an il y a

A résolu


Calculate the Voltage Through a Step-Up Transformer
Given a step-up transformer has a primary coil with A number loops, a secondary coil with B number loops, and a primary voltage ...

plus d'un an il y a

A résolu


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

plus d'un an il y a

A résolu


Calculate Simple Intrest for given data
P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I

plus d'un an il y a

A résolu


Normalizing a vector
Normalizing a set of values is an important operation in mathematics, consisting in affinely transforming a set of values in an ...

plus d'un an il y a

A résolu


Create an array from 1 to x in steps of 1.

plus d'un an il y a

A résolu


Function substitution (1)
Evaluate the function for the given values of the variables N and t

plus d'un an il y a

A résolu


Find the number of primes less than input
Given an integer n, determine the number of primes less than or equal to n.

plus d'un an il y a

A résolu


Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

plus d'un an il y a

A résolu


Remove the air bubbles from a vector
_*A reduced version of Problem 112*_ Given a column vector v, return a vector w in which all the zeros have "bubbled" to the ...

plus d'un an il y a

A résolu


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

plus d'un an il y a

A résolu


Given a Vector v1, create v2 which is the sum of each two adjacent elements in v1. {length(v2)=length(v1)-1}
if v1 is [1 2 3 4 5 6 7 8] then v2 should be [3 5 7 9 11 13 15]. if v1 is [1; 3; 5; 7] the...

plus d'un an il y a

A résolu


Number Puzzle - 036

plus d'un an il y a

A résolu


string comparision
compare two strings if both are same return 1 else return 0

plus d'un an il y a

A résolu


Given a matrix A (size m x n) create a matrix B which consists of matrix A sorted in descending order by columns and then by rows.
--------------- A= [ 2 6 -3 7 12 0 -12 5 1] --------------- B= [12 7 1 6 2 0 5 -3 ...

plus d'un an il y a

A résolu


Roots of a quadratic equation.
Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

plus d'un an il y a

Charger plus