Feeds
문제를 풀었습니다
Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords
대략 3년 전
문제를 풀었습니다
The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...
대략 3년 전
답변 있음
Link MATLAB Live Editor
(Answers developer) This is a new feature in MATLAB Answers which allows you to run your MATLAB code directly from the MATLAB An...
Link MATLAB Live Editor
(Answers developer) This is a new feature in MATLAB Answers which allows you to run your MATLAB code directly from the MATLAB An...
3년 초과 전 | 1
| 수락됨
답변 있음
Unable to post any comments/answers on MATLAB Answers
(Answers dev) This issue has been addressed. Please clear the browser's cache if you still see the same error.
Unable to post any comments/answers on MATLAB Answers
(Answers dev) This issue has been addressed. Please clear the browser's cache if you still see the same error.
3년 초과 전 | 1
| 수락됨
문제를 풀었습니다
Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...
거의 4년 전
문제를 풀었습니다
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
거의 4년 전
문제를 풀었습니다
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
거의 4년 전
문제를 풀었습니다
Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...
거의 4년 전
답변 있음
MATLAB Answers bug in typing window - "body"
(Answers dev) Thanks for reporting it. This issue is fixed as of May 13.
MATLAB Answers bug in typing window - "body"
(Answers dev) Thanks for reporting it. This issue is fixed as of May 13.
4년 초과 전 | 0
문제를 풀었습니다
Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...
5년 초과 전
문제를 풀었습니다
Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...
5년 초과 전
문제를 풀었습니다
Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...
5년 초과 전
문제를 풀었습니다
Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...
5년 초과 전
문제를 풀었습니다
Without the French accent please!
Suppress the French accent. Example 'Déjà présent' -> 'Deja present'
5년 초과 전
문제를 풀었습니다
sinus function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.
5년 초과 전
문제를 풀었습니다
Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!
5년 초과 전
문제를 풀었습니다
surface of a spherical planet
you just discovered its circumference, that is the input.
5년 초과 전
문제를 풀었습니다
Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...
5년 초과 전
문제를 풀었습니다
Complex number
For complex number c=a+bi, write code that will add a and b together.
5년 초과 전
문제를 풀었습니다
Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).
5년 초과 전
문제를 풀었습니다
02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )
5년 초과 전
문제를 풀었습니다
What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...
5년 초과 전
문제를 풀었습니다
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.
거의 6년 전
문제를 풀었습니다
Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').
거의 6년 전
문제를 풀었습니다
Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...
거의 6년 전