Statistics
0 Problems
90 Solutions
RANK
N/A
of 302,368
REPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 21,742
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Solved
Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]
2 years ago
Solved
Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.
2 years ago
Solved
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
2 years ago
Solved
Determine the square root
Determine the square root of the value the user has entered, n.
2 years ago
Solved
Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...
2 years ago
Solved
Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...
2 years ago
Solved
Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...
2 years ago
Solved
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
2 years ago
Solved
Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...
2 years ago
Solved
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...
2 years ago
Solved
Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...
2 years ago
Solved
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
2 years ago
Solved
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
2 years ago
Solved
Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.
2 years ago
Solved
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
2 years ago
Solved
Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle
2 years ago
Solved
the average value of the elements
Calculate the average value of the elements in the array
2 years ago
Solved
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
2 years ago
Solved
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
2 years ago
Solved
Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
2 years ago
Solved
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
2 years ago
