Gelöst


Stress-Strain Properties - 2
The resilience of a material is its ability to resist permanent (or plastic) deformation. The resilience coincides with the elas...

mehr als 5 Jahre vor

Gelöst


Stress-Strain Properties - 3
A brittle material will not exhibit a yield point. In other words, the yield point and failure point coincide. In such cases, th...

mehr als 5 Jahre vor

Gelöst


Stress-Strain Properties - 4
A common measure of the ability of a material to carry load per unit mass is termed strength-to-weight ratio and is calculated b...

mehr als 5 Jahre vor

Gelöst


Stress-Strain Properties - 5
Similar to the previous problem, materials may be characterized by their stiffness-to-weight ratio, which is the elastic modulus...

mehr als 5 Jahre vor

Gelöst


Create a fixed format text output
Given a short brief matrix, such as x = [1.2 2.4 3.6; 1.5 2.3 3.5; 1.35 2.35 3.65] and a label 13, create a fixed format text o...

mehr als 5 Jahre vor

Gelöst


Rotate counterclockwise a matrix 90 deg with left-bottom element
Example: Input [ 1 2 3 4 5 6 ] Output [ 3 6 2 5 1 4 ]

mehr als 5 Jahre vor

Gelöst


Ring Matrix
Given n (only odd), return output matrix a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. ...

mehr als 5 Jahre vor

Gelöst


Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

mehr als 5 Jahre vor

Gelöst


Increase monotonically
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

mehr als 5 Jahre vor

Gelöst


Form Blocks in a 1D array
Lets say I have an array of size (10,1); I want to divide it into the num number of blocks which are given by user no_of_b...

mehr als 5 Jahre vor

Gelöst


String math
You will be given a string that describes a simple math equation. Your job is to determine if the value of the equation is equa...

mehr als 5 Jahre vor

Gelöst


Long-digit Subtraction
Suppose you need to subtract a very large integer from another integer. <http://www.mathworks.com/matlabcentral/cody/problems/56...

mehr als 5 Jahre vor

Gelöst


Fraction of a fraction of a ...
One sort of brainteaser problem is a math problem wherein you are asked what the given fraction of a fraction of a ... number is...

mehr als 5 Jahre vor

Gelöst


Convert Decimal Number to Hex number (including non integer value)
Convert Decimal Number to Hex number (including non integer value) E.X. (2598.675) in decimal = A26.ACCC in hexa

mehr als 5 Jahre vor

Gelöst


Min by mean
Substitute the minimum value in each row of a matrix A by the mean of that row (it should also work if the input is a vector)

mehr als 5 Jahre vor

Gelöst


~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.

mehr als 5 Jahre vor

Gelöst


Days until next NewYear ball drop
Given a date string in the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', calculate the number of *days* until the dropping of the ...

mehr als 5 Jahre vor

Gelöst


Can't wait for NewYear ball drop !
Given an input string of the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', return a string message indicating how many days, hours...

mehr als 5 Jahre vor

Gelöst


The Python Challenge, Level 1: Decode strings
This problem is based on <http://www.pythonchallenge.com/pc/def/map.html Level 1 of The Python Challenge>, which is just a serie...

mehr als 5 Jahre vor

Gelöst


Dice roll - opposite faces
For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

mehr als 5 Jahre vor

Gelöst


Dice roll - lateral faces
For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

mehr als 5 Jahre vor

Gelöst


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

mehr als 5 Jahre vor

Gelöst


It's going down. We're finding simbers!
This problem is inspired by Project Euler 520: Simbers. "We define a simber to be a positive integer in which any odd digit, ...

mehr als 5 Jahre vor

Gelöst


Divisible by 12
Write a function to determine if a number is divisible by 12. Similar to the number six, this can be done by checking for divisi...

mehr als 5 Jahre vor

Gelöst


row removal
Consider a matrix and remove the first row of the matrix.

mehr als 5 Jahre vor

Gelöst


Code Wheel
Create a function that offsets each value in a given string by a given amount. For instance, codewheel('hello',1) s...

mehr als 5 Jahre vor

Gelöst


Define the operators of function_handles
Suppose f and g are function_handles, try to define f+g,f-g,f*g and f/g. e.g. if f = @(x)x and g = @(x)x+1 ...

mehr als 5 Jahre vor

Gelöst


Create an array (n,n) where only diagonal elements are '1' and others are '0'
Create an array (n,n) where only diagonal elements are '1' and others are '0' EX: n = 3; then Resultant array would be [ 1 0...

mehr als 5 Jahre vor

Gelöst


Get the array of sum for three consecutive numbers in an array
Get the array of sum, for three consecutive numbers in an array. if Input 'x' does not have at-least 3 elements then 'y' shou...

mehr als 5 Jahre vor

Gelöst


Dealing with correlation results!
In this problem we would like to transform correlation coefficient MATRIX to a VECTOR which includes only unique elements of coe...

mehr als 5 Jahre vor

Mehr laden