문제를 풀었습니다


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

거의 7년 전

문제를 풀었습니다


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

거의 7년 전

문제를 풀었습니다


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

거의 7년 전

문제를 풀었습니다


Without the French accent please!
Suppress the French accent. Example 'Déjà présent' -> 'Deja present'

거의 7년 전

문제를 풀었습니다


Find matching string from a list of strings
Write a function that returns a string that is a unique match (if it exists) of the string |inStr| from a list of strings |strLi...

거의 7년 전

문제를 풀었습니다


Fahrenheit to Celsius using multiple statements
°C = (°F - 32) x 5/9 * Write a statement that assigns fractionalMultiplier with 5/9. * Write a second statement that assign...

거의 10년 전

문제를 풀었습니다


Compute Fibonacci Number
Compute the _n_-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

대략 10년 전

답변 있음
Obtaining corresponding pixel indices in perspective-corrected image
I managed to find a solution to this problem. First note that this applies to MATLAB versions R2014b and earlier. While I can't ...

거의 11년 전 | 0

| 수락됨

문제를 풀었습니다


Sum all integers from 1 to 5^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=6

대략 11년 전

문제를 풀었습니다


Column arrays: Transpose a row array
* Construct a row array countValues with elements 1 to endValue, using the double colon operator. * Transpose countValues to re...

대략 11년 전

문제를 풀었습니다


Number Persistence
A number's persistence is the number of steps required to reduce it to a single digit by multiplying all its digits to obtain a ...

대략 11년 전

문제를 풀었습니다


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

대략 11년 전

문제를 풀었습니다


Variable Assignment
Complete the ? part by assigning myExamScore with 100.

대략 11년 전

문제를 풀었습니다


Power of n ?
Determine if _x_ (positive integer) is a power of _n_, return true or false accordingly.

대략 11년 전

문제를 풀었습니다


Array of Ones
Create a 100 X 100 array of ones.

대략 11년 전

문제를 풀었습니다


Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

대략 11년 전

문제를 풀었습니다


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

대략 11년 전

문제를 풀었습니다


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

대략 11년 전

답변 있음
Fibonacci sequence, slightly different.
It seems to be quite close. You just need to make one small change. You should reference the seq variable using the index, k, no...

대략 11년 전 | 0

답변 있음
Extracting matrix diagonal with diag(A)
Does this fix your problem? a = eye(4,4) == 1; diag(a) While the *diag* function works fine, if you have a variable n...

대략 11년 전 | 0

| 수락됨

답변 있음
Merge tables with different dimensions?
Does this example do what you need? A = randi(9,4,3) B = randi(9,4,5) C = randi(9,4,2) D(1:4,1:size(A,2)) = A;...

대략 11년 전 | 0

답변 있음
search for a code in a cell
key = [1 1 -1 -1] C{1} = [1 1 1 1];C{2}=[1 1 -1 -1];C{3}=[1 -1 1 -1];C{4}=[1 -1 -1 1] loc = find(cellfun(@(x)all(x == ke...

대략 11년 전 | 1

| 수락됨

문제를 풀었습니다


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

대략 11년 전

문제를 풀었습니다


Create an anti-identity matrix
Create an anti-identity matrix of given dimension. Examples n = 2 A = [0 1; 1 0] n = 3 A = [0 0 1; 0 1 0; 1 0 0...

대략 11년 전

문제를 풀었습니다


Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

대략 11년 전

문제를 풀었습니다


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the hourly wage times 40 and times 50, because annualSalary = hour...

대략 11년 전

문제를 풀었습니다


Compute total cost
A drink costs 2 dollars. A taco costs 3 dollars. Write a statement that assigns totalCost with the total meal cost given the num...

대략 11년 전

문제를 풀었습니다


Computing wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

대략 11년 전

문제를 풀었습니다


Write an expression
Assigns finalResult with firstSample plus secondSample, divided by 3. Ex: If firstSample is 18 and secondSample is 12, finalResu...

대략 11년 전

문제를 풀었습니다


Declaring a character
* Assign middleInitial with the character T.

대략 11년 전

더 보기