Solved


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

3 months ago

Solved


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

3 months ago

Solved


二つのベクトルの要素ごとの積の平均を計算しよう
二つの同じ長さのベクトルが与えられたとき、二つのベクトルの要素ごとの積の平均を求めましょう。 例: 二つのベクトル [1 2 3] と [10 15 20] が与えられたとき、 それぞれの要素ごとの積の平均を取ると、 解は 33.3333 と...

3 months ago

Solved


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

3 months ago

Solved


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

3 months ago

Solved


Distance Travelled by Vehicle

3 months ago

Solved


Angular Velocity

3 months ago

Solved


Period of a pendulum

3 months ago

Solved


Total energy

3 months ago

Solved


Potential energy calculation

3 months ago

Solved


Kinetic energy calculation

3 months ago

Solved


Laws of motion 6

3 months ago

Solved


Laws of motion 5

3 months ago

Solved


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

3 months ago

Solved


Laws of motion 3

3 months ago

Solved


Laws of motion 2

3 months ago

Solved


Laws of motion 1

3 months ago

Solved


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

3 months ago

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

3 months ago

Solved


Converts numbers into characters
Converts numbers into characters

3 months ago

Solved


Find the max element of the array
Find the max element of the array

3 months ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

3 months ago

Solved


to the 2 all elements
to the 2 all elements

3 months ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

3 months ago

Solved


Double all elements in the array
Duplicate all elements in the array

3 months ago

Solved


Draw a '0' in a one matrix!

3 months ago

Solved


calculate the length of matrix
input 1 array, calculate the length

3 months ago

Solved


Find nearest prime number less than input number
Find nearest prime number less than input number. For example: if the input number is 125, then the nearest prime number whi...

3 months ago

Solved


Divisible by n, prime vs. composite divisors
In general, there are two types of divisibility checks; the first involves composite divisors and the second prime divisors, inc...

3 months ago

Solved


Divisible by 16
Write a function to determine if a number is divisible by 16. This can be done by a few different methods. Here are two: # If...

3 months ago

Load more