문제를 풀었습니다


Size of this cup?
The given vector has diameter of the cup in mm sampled at micrometer increments in depth from top to bottom, need output in cc a...

5년 초과 전

문제를 풀었습니다


persistant sum
There will be 9 tests for this problem. In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to t...

5년 초과 전

문제를 풀었습니다


Find offset of an element of a multi dimensional matrix
For a given multi dimensional matrix and given element, find its offset from the 1st element. Return 0, if element is not fo...

5년 초과 전

문제를 풀었습니다


Find offset of given matrix element from first matrix element
Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...

5년 초과 전

문제를 풀었습니다


Basic Quadratic Equation
Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

5년 초과 전

문제를 풀었습니다


Replicate and Tile an Array
Replicate and tile an array. Example A = [1 2 3; 4 5 6; 7 8 9] B = Epli_and_Tile(A,1,2) B = [ 1 2 3 1...

5년 초과 전

문제를 풀었습니다


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

5년 초과 전

문제를 풀었습니다


Circumscribed Pentagon?
Building off of <https://www.mathworks.com/matlabcentral/cody/problems/44368 Problem 44368>, your function will be provided with...

5년 초과 전

문제를 풀었습니다


solve for y that is half as much as three less than one tenth of x
function y = half(x) y = (x * .1); end

5년 초과 전

문제를 풀었습니다


mathematics , probability problem
How many different result can we have, rolling k dice?

5년 초과 전

문제를 풀었습니다


Strange Number Algorithms
Three integer numbers will be provided to you. Write a function to Step1: Multiply first number by 3. Step2: Add 6 with t...

5년 초과 전

문제를 풀었습니다


Consecutive Prime Numbers

5년 초과 전

문제를 풀었습니다


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...

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


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...

5년 초과 전

문제를 풀었습니다


Closely related?
Given a function past_records() that will report blood sugar level of two twin brothers some random number of days ago. For exam...

5년 초과 전

문제를 풀었습니다


Matlab Basics II - 3 Dimensional Arrays
Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), ...

5년 초과 전

문제를 풀었습니다


Permutation Via Multiplication
Given two numbers a and b, determine if the product ab is a permutation of the digits of a. For example, this is always true for...

5년 초과 전

문제를 풀었습니다


Muphry's Law of MATLAB
You're running some simple multiplication problems through MATLAB for error checking purposes, but nothing seems to come up with...

5년 초과 전

문제를 풀었습니다


Divisors

5년 초과 전

문제를 풀었습니다


Solve the recursion

5년 초과 전

문제를 풀었습니다


Sum multiples

5년 초과 전

문제를 풀었습니다


Mean Square Error

5년 초과 전

문제를 풀었습니다


All odd - all even
All odd numbers in x are added, while all even numers are subtracted from this. example: x = [1 2 3 4 5]; y = +(1+3+5)-...

5년 초과 전

문제를 풀었습니다


iteration of N blank spot
we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- bl...

5년 초과 전

문제를 풀었습니다


find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

5년 초과 전

문제를 풀었습니다


Pluralization
Define function plu(n) that returns '' (an empty string) if n=1, or 's' otherwise. This is handy for displaying messages from a...

5년 초과 전

문제를 풀었습니다


Check if integer
Given a vector of elements, determine if each element is an integer and return true or false accordingly.

5년 초과 전

문제를 풀었습니다


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)

5년 초과 전

더 보기