Problema


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

oltre 10 anni fa | 0 | 22 risolutori

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Carica altro