문제를 풀었습니다


Assignment statements based on input value
Write an if-else statement that assigns finalValue with userValue + 5 if userValue is greater than 100. Otherwise assign finalVa...

거의 10년 전

문제를 풀었습니다


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

거의 10년 전

문제를 풀었습니다


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

거의 10년 전

문제를 풀었습니다


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

거의 10년 전

답변 있음
wavelet matlab plotting error
The spike appeared at the start and end is the wavelet boundary effect of any given signal. It is cause by zero padding that tak...

거의 10년 전 | 1

문제를 풀었습니다


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

거의 10년 전

문제를 풀었습니다


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

거의 10년 전

문제를 풀었습니다


calculate RMS voltage
given peak to peak voltage, calculate rms voltage

거의 10년 전

문제를 풀었습니다


y equals x divided by 2
function y = x/2

거의 10년 전

문제를 풀었습니다


Determine the length of a string of characters
Determine the length of a string of characters

거의 10년 전

문제를 풀었습니다


Multiple if statements
Write an if-statement that subtracts 5 from outputValue if amplitudeResponse is greater than 10. Write a second if-statement tha...

거의 10년 전

문제를 풀었습니다


Potential Energy
Calculate the potential energy of a rock.

거의 10년 전

문제를 풀었습니다


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

거의 10년 전

문제를 풀었습니다


Create a vector
Create a vector from 0 to n by intervals of 2.

거의 10년 전

문제를 풀었습니다


factorial of a number x
Factorial of a number x

거의 10년 전

문제를 풀었습니다


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

거의 10년 전

문제를 풀었습니다


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

거의 10년 전

문제를 풀었습니다


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

거의 10년 전

문제를 풀었습니다


Square a Number
Given an input x, return y, which is equal to the square of x.

거의 10년 전

문제를 풀었습니다


Area of a circle
Find the value for area of the circle if diameter is given

거의 10년 전

문제를 풀었습니다


square number
Square a number

거의 10년 전

문제를 풀었습니다


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]

거의 10년 전

문제를 풀었습니다


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 ...

거의 10년 전

문제를 풀었습니다


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...

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


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

거의 10년 전

문제를 풀었습니다


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

거의 10년 전

더 보기