Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


Draw a '0' in a one matrix!

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


Distance Travelled by Vehicle

etwa ein Jahr vor

Gelöst


Circle : Square

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


Spherical Volume
Calculate the volume of a sphere.

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Mehr laden