Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


Distance Travelled by Vehicle

quasi 2 anni fa

Risolto


Angular Velocity

quasi 2 anni fa

Risolto


Period of a pendulum

quasi 2 anni fa

Risolto


Total energy

quasi 2 anni fa

Risolto


Potential energy calculation

quasi 2 anni fa

Risolto


Kinetic energy calculation

quasi 2 anni fa

Risolto


Laws of motion 6

quasi 2 anni fa

Risolto


Laws of motion 5

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


Laws of motion 3

quasi 2 anni fa

Risolto


Laws of motion 2

quasi 2 anni fa

Risolto


Laws of motion 1

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


Converts numbers into characters
Converts numbers into characters

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


to the 2 all elements
to the 2 all elements

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


Draw a '0' in a one matrix!

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Carica altro