Feeds
문제를 풀었습니다
MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8
11개월 전
문제를 풀었습니다
MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9
11개월 전
문제를 풀었습니다
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
11개월 전
문제를 풀었습니다
Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...
11개월 전
문제를 풀었습니다
Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...
11개월 전
문제를 풀었습니다
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
11개월 전
문제를 풀었습니다
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
11개월 전
문제를 풀었습니다
the average value of the elements
Calculate the average value of the elements in the array
11개월 전
문제를 풀었습니다
Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...
11개월 전
문제를 풀었습니다
sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...
11개월 전
문제를 풀었습니다
subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.
11개월 전
문제를 풀었습니다
surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...
11개월 전
문제를 풀었습니다
Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.
11개월 전
문제를 풀었습니다
Given a number N, find the smallest prime P>N
Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.
11개월 전
문제를 풀었습니다
Rule of mixtures (composites) - reverse engineering
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...
11개월 전
문제를 풀었습니다
Rule of mixtures (composites) - other bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...
11개월 전
문제를 풀었습니다
Rule of mixtures (composites) - weighted bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...
11개월 전
문제를 풀었습니다
Rule of mixtures (composites) - lower and upper bounds
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...
11개월 전
문제를 풀었습니다
Rule of mixtures (composites) - upper bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...
11개월 전
문제를 풀었습니다
Rule of mixtures (composites) - lower bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...
11개월 전
문제를 풀었습니다
Stress-Strain Properties - 5
Similar to the previous problem, materials may be characterized by their stiffness-to-weight ratio, which is the elastic modulus...
11개월 전
문제를 풀었습니다
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...
11개월 전
문제를 풀었습니다
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...
11개월 전
문제를 풀었습니다
Stress-Strain Properties - 2
The resilience of a material is its ability to resist permanent (or plastic) deformation. The resilience coincides with the elas...
11개월 전

