문제를 풀었습니다


Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

9년 초과 전

문제를 풀었습니다


construct matrix with identical rows
Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x. E...

9년 초과 전

문제를 풀었습니다


Find and replaces spaces from a input string with *
For a given input string str, find how many spaces are there in the string and replace those spaces with * e.g. str = 'this is ...

9년 초과 전

문제를 풀었습니다


Health app
A health app records a user's weight and displays the change in weight from the previous measurement to the next. Assign weightC...

9년 초과 전

문제를 풀었습니다


frame of the matrix
Given the matrix M, return M without the external frame.

9년 초과 전

문제를 풀었습니다


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

9년 초과 전

문제를 풀었습니다


Happy 2013...
Happy 2013, everyone! An interesting tidbit about 2013 is that it is the first year since 1987 to contain four different digits...

9년 초과 전

문제를 풀었습니다


Currency conversion
A currency exchange booth offers an exchange rate of 119.771 Japanese yen for 1 US dollar. The currency exchange booth rounds do...

9년 초과 전

문제를 풀었습니다


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

9년 초과 전

문제를 풀었습니다


Prime checker
Complete the recursive function to determine if a number is prime. Skeletal code is provided in the PrimeChecker function.

9년 초과 전

문제를 풀었습니다


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

9년 초과 전

문제를 풀었습니다


Times 3 problem
When you enter the number, it should return the number multiplied by 3

9년 초과 전

문제를 풀었습니다


Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];

9년 초과 전

문제를 풀었습니다


sinus function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

9년 초과 전

문제를 풀었습니다


2倍してみよう - ここからスタート!
初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

9년 초과 전

문제를 풀었습니다


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

9년 초과 전

문제를 풀었습니다


does it touch ?
given a sentence, tell how much it touches. input : string output : how much it touches touching : a bilabial phoneme d...

9년 초과 전

문제를 풀었습니다


Binary
Given a positive, integer n, create a function that returns the respective binary number in the form of a vector. Example: ...

9년 초과 전

문제를 풀었습니다


Travel speed
Write an anonymous function to compute the Euclidean distance given two points (x1, y1) and (x2, y2). Use the following equation...

9년 초과 전

문제를 풀었습니다


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

9년 초과 전

문제를 풀었습니다


Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

9년 초과 전

문제를 풀었습니다


How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

9년 초과 전

문제를 풀었습니다


Strangest ways to get 0
Propose your non-trivial way to get 0. Look mine's, and try to do your best!

9년 초과 전

문제를 풀었습니다


Probabilities - Balls and urns - 01
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

9년 초과 전

문제


Probabilities - Balls and urns - 01
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

9년 초과 전 | 1 | 솔버 수: 26

답변 있음
transform matrices into a single matrix?
You need to assign each variable to *only one row* of all_data matrix. A= [ 1 2 3; 4 5 6; 7 8 9]; B= [10 11 12; 13 14 1...

9년 초과 전 | 3

| 수락됨

문제를 풀었습니다


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

9년 초과 전

문제를 풀었습니다


Finding values in arrays
Assign numMatches with the number of elements in userValues that equal matchValue. Ex: If matchValue = 2 and userVals = [2, ...

9년 초과 전

문제를 풀었습니다


Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

9년 초과 전

문제를 풀었습니다


Create an 'arrow-head" matrix
Write a function that when given an odd number, produces an arrow-head function pointing to the right. Examples n = 3 ...

9년 초과 전

더 보기