문제를 풀었습니다


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

거의 2년 전

문제를 풀었습니다


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

거의 2년 전

문제를 풀었습니다


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

거의 2년 전

문제를 풀었습니다


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

거의 2년 전

문제를 풀었습니다


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

거의 2년 전

문제를 풀었습니다


raise 1/3
Raise a number to 1/3 power.

거의 2년 전

문제를 풀었습니다


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

거의 2년 전

문제를 풀었습니다


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

거의 2년 전

문제를 풀었습니다


CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

거의 2년 전

문제를 풀었습니다


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

거의 2년 전

문제를 풀었습니다


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

거의 2년 전

문제를 풀었습니다


Analyze observation data
Suppose you have the following data (A,B,C) in three-column format. A B C -------------------------- t=1 ...

거의 2년 전

문제를 풀었습니다


Convert Angstrom to Meters
Write a code that converts the angstrom unit to meters.(A is angstrom and m is meters.)

거의 2년 전

문제를 풀었습니다


Cody problems in French : Trouvez la logique Pt.2
Trouvez la logique entre x et y, aidez-vous de la test suite. Bon courage. P.S: L'utilisation de "^" est de nouveau fortement...

거의 2년 전

문제를 풀었습니다


Distance Travelled by Vehicle

거의 2년 전

문제를 풀었습니다


Calculate the volume of a cone
Calculate the volume of a cone given an array containing one column of radii and one column of the height of the cone. * Reme...

거의 2년 전

문제를 풀었습니다


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

거의 2년 전

문제를 풀었습니다


Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];

거의 2년 전

문제를 풀었습니다


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

거의 2년 전

문제를 풀었습니다


Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

거의 2년 전

문제를 풀었습니다


Saving MATLAB session to a file
How to save MATLAB session to a file?

거의 2년 전

문제를 풀었습니다


Matlab Basics II - Log and natural log
Write a function that calculates the difference between the log and natural log of a vector, to two decimal places example: ...

거의 2년 전

문제를 풀었습니다


Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

거의 2년 전

문제를 풀었습니다


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

거의 2년 전

문제를 풀었습니다


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

거의 2년 전

문제를 풀었습니다


Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

거의 2년 전

문제를 풀었습니다


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

거의 2년 전

문제를 풀었습니다


Degrees to Radian
Convert degrees to radians

거의 2년 전

문제를 풀었습니다


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

거의 2년 전

문제를 풀었습니다


Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

거의 2년 전

더 보기