解決済み


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

9年以上 前

解決済み


Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

9年以上 前

解決済み


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

9年以上 前

解決済み


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

9年以上 前

解決済み


Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0

9年以上 前

解決済み


Matlab Basics II - Create a vector with a repeated entry
Create a row vector of length n, filled with 4's, for example, if n = 3 output = [4 4 4] make sure to round UP when n is a...

9年以上 前

解決済み


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

9年以上 前

解決済み


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

9年以上 前

解決済み


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

9年以上 前

問題


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

9年以上 前 | 1 | 103 個のソルバー

解決済み


Remove the Zero
Given an array n, remove all zeros

9年以上 前

解決済み


Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

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年以上 前

解決済み


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年以上 前

問題


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

9年以上 前 | 2 | 90 個のソルバー

解決済み


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

9年以上 前

解決済み


square root
Find the square root (y) of an input (x).

9年以上 前

解決済み


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

9年以上 前

解決済み


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

9年以上 前

解決済み


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

9年以上 前

問題


Solve expression III
Solve expression for given vector x. Expression = (tan(2*x^2+7*x-30.25)+log(x^3-2.25))/(nthroot(sin(x^3)^2+1/5*log(x^4-2.5),3))...

9年以上 前 | 3 | 91 個のソルバー

解決済み


Solve expression III
Solve expression for given vector x. Expression = (tan(2*x^2+7*x-30.25)+log(x^3-2.25))/(nthroot(sin(x^3)^2+1/5*log(x^4-2.5),3))...

9年以上 前

解決済み


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

9年以上 前

問題


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

9年以上 前 | 3 | 94 個のソルバー

解決済み


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

9年以上 前

問題


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

9年以上 前 | 3 | 101 個のソルバー

問題


Count given word x in text.
Count how many times given word x repeats in text.

9年以上 前 | 1 | 65 個のソルバー

解決済み


Count given word x in text.
Count how many times given word x repeats in text.

9年以上 前

解決済み


Food safety
Assign safeTemperature with 1 if foodTemperature is less than 40 or greater than 165.

9年以上 前

さらに読み込む