Gelöst


Add 100

mehr als 4 Jahre vor

Gelöst


remove nans fast
There are several ways to locate and remove nans in a matrix, and return an 1d row vector. In this problem the challenge is ...

mehr als 4 Jahre vor

Gelöst


Given n, create n random numbers such that their standard deviation is also n.
Given n, create n random numbers such that their standard deviation is also n.

mehr als 4 Jahre vor

Problem


Easy Sequences 63: Base-63 Arithmetic Functions
In this exercise we are required to implement 7 basic 'unsigned integer' arithmetic functions in base-63: to63(x) - convert...

mehr als 4 Jahre vor | 1 | 5 Lösungsvorschläge

Gelöst


Draw 'P' !!!
Draw a n by n matrix 'P' using 0s and 1s. (n is odd and greater than 4) if n=5 , then the output will be [1 1 1 1 1 1 0 0 0...

mehr als 4 Jahre vor

Gelöst


List the Beatriz numbers
Write a function to find integers less than or equal to an input value that solve the equation . The function gives the sum o...

mehr als 4 Jahre vor

Gelöst


Shuffle
Shuffle a vector by breaking it up to segments of |n| elements, and rearranging them in a reversed order. For example, the ve...

mehr als 4 Jahre vor

Gelöst


Temperature Conversion Utility (Strings)
This is a follow-on problem to <http://www.mathworks.com/matlabcentral/cody/problems/2413-temperature-conversion-utility Problem...

mehr als 4 Jahre vor

Gelöst


Temperature Conversion Utility
There are a few problems on Cody regarding temperature conversion (C to K, C to F, F to C), but none include Rankine. Furthermor...

mehr als 4 Jahre vor

Gelöst


Total resistance of a network of resistors in series and parallel
What is the total resistance of a network of resistors in series and in parallel? A matrix R contains the resistances (in Ohm) ...

mehr als 4 Jahre vor

Gelöst


Total resistance of resistors in parallel
What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

mehr als 4 Jahre vor

Gelöst


Total resistance of resistors in series
What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

mehr als 4 Jahre vor

Gelöst


Find the summation, mean, median, mode and standard deviation of a given array.
An array is given. Find out the summation, mean, median, mode and standard deviation of a given array. If x=[1,2,2,3,3,3,4,4,4,...

mehr als 4 Jahre vor

Gelöst


Calculate the sum of two polynomials
Calculate the sum of two polynomials if they are written in notation with their coefficients. example: a=[3 4 5]; b=[...

mehr als 4 Jahre vor

Gelöst


Please check the last row
We have data of matrix, that is input. That contains 2 or more rows and the last row should contain the average of each column,...

mehr als 4 Jahre vor

Gelöst


Vector pop
Take |n| elements from the end of the vector |v| and return both the shorten vector |v| and the |n| elements in a separate vecto...

mehr als 4 Jahre vor

Gelöst


Vector push
Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...

mehr als 4 Jahre vor

Gelöst


Perl 1: push
_This is part of a series of perl function which were very helpful for many perl programmers. Could you implement it in Matlab?_...

mehr als 4 Jahre vor

Problem


Easy Sequences 62: Sum of Omega-3 Function
For an integer , the prime big omega function, , is defined as the total number of prime factors of . If , since , therefore . ...

mehr als 4 Jahre vor | 2 | 5 Lösungsvorschläge

Gelöst


Product of Each Column
Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...

mehr als 4 Jahre vor

Gelöst


SatCom #2: Gain of a circular 'dish' antenna
Satellite and Space Engineering - Problem #2 This is part of a series of problems looking at topics in satellite and space comm...

mehr als 4 Jahre vor

Gelöst


SatCom #1: Wavelength of an electomagnetic wave
*Satellite and Space Engineering - Problem #1* _This is the first of a series of problems looking at topics in satellite and ...

mehr als 4 Jahre vor

Problem


Easy Sequence 61: Wide Pythagorean Triangles
An integer-sided right triangle with sides , is called a "wide Pythagorean triangle", if , and . Write a program that counts a...

mehr als 4 Jahre vor | 0 | 5 Lösungsvorschläge

Gelöst


Concatenated roots
Which is the value of this infinte concatenated roots? <<https://s27.postimg.org/i4hkin7xf/Code_Cogs_Eqn.gif>> Note: If ...

mehr als 4 Jahre vor

Gelöst


Church Encoding
Church encoded numeral is a function which takes two arguments _f_ and _x_ and applies _f_ to _x_ several times. For example,...

mehr als 4 Jahre vor

Gelöst


Determinant without using det()
Given a square matrix A, compute the <http://en.wikipedia.org/wiki/Determinant determinant> of A. Note that you may not use t...

mehr als 4 Jahre vor

Gelöst


Airline Ticket Mod7 Checksum
There are 13 digits in an airline ticket number. If an airline ticket number is valid, the 13th digit should be the remainder of...

mehr als 4 Jahre vor

Gelöst


Array ex-OR
There are in MATLAB logical functions such as _<http://www.mathworks.co.uk/help/matlab/ref/and.html and>,_ _<http://www.math...

mehr als 4 Jahre vor

Gelöst


Accurate Division
Given three integers x, y and d, return x/y (as a string) to d significant digits. Remove leading and trailing zeros. Example...

mehr als 4 Jahre vor

Gelöst


Mmm! Multi-dimensional Matrix Multiplication
You have got a couple of multi-dimensional matrices, A and B. And want to multiply them. For the first 2 dimensions, an ordinary...

mehr als 4 Jahre vor

Mehr laden