解決済み


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

5ヶ月 前

解決済み


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

5ヶ月 前

解決済み


Find max
Find the maximum value of a given vector or matrix.

5ヶ月 前

解決済み


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

5ヶ月 前

解決済み


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

5ヶ月 前

解決済み


Draw a '0' in a one matrix!

5ヶ月 前

解決済み


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

5ヶ月 前

解決済み


Penny flipping - calculate winning probability (easy)
Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...

5ヶ月 前

解決済み


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

5ヶ月 前

解決済み


Distance Travelled by Vehicle

5ヶ月 前

解決済み


Circle : Square

5ヶ月 前

解決済み


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

5ヶ月 前

解決済み


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

5ヶ月 前

解決済み


row removal
Consider a matrix and remove the first row of the matrix.

5ヶ月 前

解決済み


Spherical Volume
Calculate the volume of a sphere.

5ヶ月 前

解決済み


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

5ヶ月 前

解決済み


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

5ヶ月 前

解決済み


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

5ヶ月 前

解決済み


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

5ヶ月 前

解決済み


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

5ヶ月 前

解決済み


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

5ヶ月 前

解決済み


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

5ヶ月 前

解決済み


Convert radians to degrees
Given input in radians, output to degrees

5ヶ月 前

解決済み


Create a vector
Create a vector from 0 to n by intervals of 2.

5ヶ月 前

解決済み


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

5ヶ月 前

解決済み


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

5ヶ月 前

解決済み


Basic Mathematics 5
The total area of all four equal sections of the game field is N ft². Each section has a rectangle of dimensions X ft x Y ft re...

5ヶ月 前

解決済み


Basic Mathematics 6
A High School is trying to build their robot to be able to reach the hanging object which is H inches from the ground. Their ro...

5ヶ月 前

解決済み


Linear Motion 2
During testing in the desert, a remotely operated vehicle travels D kilometers over rough terrain. The testing takes place over...

5ヶ月 前

解決済み


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

5ヶ月 前

さらに読み込む