Problem


increase the number by 7
You need to increase any given digit by 7

10 years ago | 0 | 22 solvers

Solved


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

10 years ago

Solved


ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける(コンマはオプション)。 x = [1, 2, 3, 4] 問題:次のベクトルを出力する関数を作成せよ。...

10 years ago

Solved


Cost computation and Display
Given a positive number of pens, a cost is computed and displayed. One Pen costs 1.99 dollars

10 years ago

Solved


write an expression
output is five more than twice an input number.

10 years ago

Solved


write an expression
output is five more than twice an input number.

10 years ago

Solved


write an expression
output is five more than twice an input number.

10 years ago

Solved


write an expression
output is five more than twice an input number.

10 years ago

Solved


write an expression
output is five more than twice an input number.

10 years ago

Solved


write an expression
output is five more than twice an input number.

10 years ago

Solved


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

10 years ago

Solved


reverse string
input='rama' output='amar'

10 years ago

Solved


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

10 years ago

Solved


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

10 years ago

Solved


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

10 years ago

Solved


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

10 years ago

Solved


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

10 years ago

Solved


Max of a Vector
Write a function to return the max of a vector

10 years ago

Solved


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

10 years ago

Solved


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

10 years ago

Solved


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

10 years ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

10 years ago

Solved


Reverse a matrix
Its simple. You have to reverse a given matrix.

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

10 years ago

Solved


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

10 years ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

10 years ago

Solved


Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

10 years ago

Solved


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

10 years ago

Load more