Resuelto


Acidity of vinegar and salts
Assuming: pH (potentia hydrogenii) = - log10(H+ ionic concentration in mol/Liter). For a buffer solution containing acetic acid ...

casi 13 años hace

Resuelto


Put m balls into n boxes (again)
According to <http://www.mathworks.com/matlabcentral/cody/problems/1516-put-m-balls-into-n-boxes Cody Problem 1516>, if I put 3 ...

casi 13 años hace

Resuelto


Put m balls into n boxes
Can you find all the cases where, if I put 3 balls into 2 boxes the case is 1 1 1 1 1 2 1...

casi 13 años hace

Resuelto


Segmentation violation error when I run a mex file
I need to call a Fortran file when I run matlab. The fortran file was provided by roms.org. I can use mex to generate .mexa64 us...

alrededor de 13 años hace

Resuelto


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

alrededor de 13 años hace

Resuelto


Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

alrededor de 13 años hace

Resuelto


Find same numbers touching each other...
So the goal here is to find any number that is equal to its immediate neighbors and mark it true. Here is some examples: x...

alrededor de 13 años hace

Resuelto


Determine which fields have been modified in a structure
Given two input structures (s1, s2), determine which field values have been modified in s2 compared to s1. Your output should be...

alrededor de 13 años hace

Resuelto


Pull the variable y_correct from the Caller's Workspace
*Description* This highlights a very easy to use and high-scoring cheat that can be used on almost all Cody questions.

alrededor de 13 años hace

Resuelto


Create One Large Eye of size N x N Quickly?
*<http://en.wikipedia.org/wiki/Aye_(yes) Aye !!!>*

alrededor de 13 años hace

Resuelto


Create a random logical vector of N elements of which M are true.
Your task for tomorrow is to create a random binary (logical) vector of N elements of which M are true. For example: ran...

alrededor de 13 años hace

Resuelto


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

alrededor de 13 años hace

Resuelto


The Birthday Phenomenon
First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

alrededor de 13 años hace

Resuelto


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

alrededor de 13 años hace

Resuelto


Laguerre polynomials
Given an integer _n_ &ge; 0, generate the _n_-th <http://en.wikipedia.org/wiki/Laguerre_polynomials Laguerre polynomial>. *Ex...

alrededor de 13 años hace

Resuelto


Chebyshev polynomials of the 2nd Kind
Given an integer _n_ &ge; 0, generate the _n_-th <http://en.wikipedia.org/wiki/Chebyshev_polynomials Chebyshev polynomial of the...

alrededor de 13 años hace

Resuelto


Generate binary combinations for a given number of bit(s)
Generate the binary combination as in the example below. Example: If you are given: bin_comb(2) The answer will be: ...

alrededor de 13 años hace

Resuelto


Create matrix with Gray code
Output "g" should be a matrix of class double, with <http://en.wikipedia.org/wiki/Gray_code Gray reflected binary code>. Inpu...

alrededor de 13 años hace

Resuelto


Mean and standard deviation of times in string
Input(t) - cell of strings with times in format 'min:sec.ms' Output([m, s]) - two strings with mean and standard deviation wi...

alrededor de 13 años hace

Resuelto


generate a matrix of Legendre polynomials
input = x - the degree of the polynomial output = matrix of Legendre polynomials

alrededor de 13 años hace

Resuelto


Find the right x in a 1. order Polynomal (y = m*x+c)
Given two points in a Cartesian coordinate system, find the x-value, where polynomial of 1. order (y = m*x+c) is equal to a giv...

alrededor de 13 años hace

Resuelto


You LOVES Matlab 41%
Given two strings, determine the percentage that one loves the other in the following way: YOU LOVES MATLAB there is 1 '...

alrededor de 13 años hace

Resuelto


Factorial !
Calculate the factorial of a non-negative integer without using the built in function *factorial*

alrededor de 13 años hace

Problema


Modular multiplicative inverse
Modular multiplicative inverse is used for _The Chinese Remainder Theorem_ and _RSA algorithm_. You can visit <http://en.wikiped...

alrededor de 13 años hace | 1 | 25 solvers

Resuelto


Modular multiplicative inverse
Modular multiplicative inverse is used for _The Chinese Remainder Theorem_ and _RSA algorithm_. You can visit <http://en.wikiped...

alrededor de 13 años hace

Resuelto


How to multiply?
* Imagine you are in 3012 Anno Domini, when everyone must learn how to multiply, * and competing for the highly prestigious pos...

alrededor de 13 años hace

Resuelto


How to add?
* Imagine you are in 2222 Anno Domini, when everyone must learn how to add, * and competing for the highly prestigious post of,...

alrededor de 13 años hace

Resuelto


Metamorphosis
Inspired by problem <http://www.mathworks.com/matlabcentral/cody/problems/866-community-problem-500 866>. Can you make your c...

alrededor de 13 años hace

Resuelto


Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2

alrededor de 13 años hace

Resuelto


Implement Solitaire cipher for N long deck.
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cypher>. Given a starting permutation of numbers [1:...

alrededor de 13 años hace

Cargar más