解決済み


How many Christmas presents under the tree?
For many families at Christmas, each family member gives 1 present to every other family member. The main exception is that chil...

5年以上 前

解決済み


Question 1
Implement a function named q1 with one input argument named n. This function should return the multiplication of all odd numbers...

5年以上 前

解決済み


find the answer

5年以上 前

解決済み


Area of a triangle given its sides

5年以上 前

解決済み


Determine whether the input is odd, even, or neither.
Make a function that returns ‘odd’ if the input is odd, ‘even’ if the input if even or ‘error’ if the input is neither odd nor ...

5年以上 前

解決済み


For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

5年以上 前

解決済み


Approximate the inverse tangent by power series
Given values b (where abs(b)<=1) and n (polynomial order), write a function that calculates atan(b) by using power series.

5年以上 前

解決済み


Say type of roots in quadratic equation
Given the coefficients of a quadratic equation, write a function that gives the output y='RealDifferent' if the roots are real a...

5年以上 前

解決済み


Add consecutive integer numbers
Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

5年以上 前

解決済み


X O X O
On a noughts and crosses board, how many possible unique combinations are there given a square grid of length n? Assumptions/...

5年以上 前

解決済み


Check if is a square
Given four coordinates, write a function to check if they form a square on the XY plane.

5年以上 前

解決済み


Get the mean digit
Write a function that gives the mean digit (round towards nearest integer) of an input and positive number. For example: x ...

5年以上 前

解決済み


convert binary string to vector!!!

5年以上 前

解決済み


Percentage profit:4
If a shopkeeper is selling W gram of salt in 1 dollar he will face r% loss. How much salt he should sell in grams to make r% pro...

5年以上 前

解決済み


Percentage profit:2
If you are selling at x dollar, you are facing r1% profit; what will be the selling price for making r2% profit?

5年以上 前

解決済み


Percentage profit:5: Cumulative Interest
If a bank is giving r% yearly cumulative interest for deposit, how much profit we can get by keeping x amount of money for n mon...

5年以上 前

解決済み


Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7

5年以上 前

解決済み


Next Palindrome

5年以上 前

解決済み


Previous Palindrome

5年以上 前

解決済み


Decay Constant

5年以上 前

解決済み


Number Puzzles - 001

5年以上 前

解決済み


Number Puzzles - 002

5年以上 前

解決済み


For given xx,x, y vectors build spline of x and y and find yy values for xx vector.
For given xx,x, y vectors build spline of x and y and find yy values for xx vector. Example x = [ 1.0000 1.5000 2.00...

5年以上 前

解決済み


Weave two matrices together to form one matrix
Take the first column from matrix a, then insert the first column from matrix b, and so on. For example: a = [1 2 3 4]; b ...

5年以上 前

解決済み


MinMax mapping
Given a matrix, map all the elements within a given interval. For example, a=[ 2 5 10] mapped in the interval [1,2] ...

5年以上 前

解決済み


Find the sequence
Find the nth number of a sequence. Check the test suite to determine the sequence. * hint: it is closely related to familiar ...

5年以上 前

問題


Locate a family on a long street

5年以上 前 | 8 | 23 個のソルバー

解決済み


Extract Built In Functions and Toolbox Functions from String or Function Handle
Find the Built-In functions and Toolbox functions in either a string or a function handle. Generate a string of alphabetized ...

5年以上 前

解決済み


Magnet and Iron
(Inspired from <http://www.mathworks.com/matlabcentral/cody/problems/112 Problem 112: Remove the air bubbles>) Iron (atomic n...

5年以上 前

さらに読み込む