Feeds
문제를 풀었습니다
Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...
대략 8년 전
질문
Is MATLAB permanant or renewal when I purchased the MATLAB standard version ?
Is MATLAB permanant or renewal when I purchased the MATLAB standard version ?
8년 초과 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.
8년 초과 전
문제를 풀었습니다
Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.
8년 초과 전
문제를 풀었습니다
Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...
8년 초과 전
문제를 풀었습니다
Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...
8년 초과 전
문제를 풀었습니다
Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...
8년 초과 전
문제를 풀었습니다
Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...
8년 초과 전
문제를 풀었습니다
Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...
8년 초과 전
문제를 풀었습니다
Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...
8년 초과 전
문제를 풀었습니다
Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...
8년 초과 전
문제를 풀었습니다
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
8년 초과 전
문제를 풀었습니다
Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...
8년 초과 전
문제를 풀었습니다
Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...
8년 초과 전
문제를 풀었습니다
Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...
8년 초과 전
질문
How can I connect raspberry pi with laptop?
I have learned from many articles that how to use Simulink block with the raspberry pi. But I don't know how to connect it with...
8년 초과 전 | 답변 수: 0 | 0
0
답변질문
["The number of license is short"], I got this message when I install.
What should I do if I continue install? should I renewal the license with paying?
8년 초과 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...
거의 9년 전
문제를 풀었습니다
Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...
거의 9년 전
문제를 풀었습니다
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
거의 9년 전
질문
How to get result as string from curve fitting?
<</matlabcentral/answers/uploaded_files/40515/Selection_010.png>> As shown, I want to get result as string. (Linear model Pol...
대략 9년 전 | 답변 수: 2 | 0
2
답변질문
How to use java class that I made in matlab?
How to use java class that I made in matlab? I made a package. So, I want to use it in the MATLAB. But I can't do it. ex)...
대략 9년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0
대략 9년 전
문제를 풀었습니다
Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...
대략 9년 전
문제를 풀었습니다
Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...
대략 9년 전
문제를 풀었습니다
Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...
대략 9년 전
문제를 풀었습니다
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
대략 9년 전
문제를 풀었습니다
Extract leading non-zero digit
<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...
대략 9년 전
문제를 풀었습니다
Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
대략 9년 전