Statistica
0 Problemi
87 Soluzioni
RANK
N/A
of 302.286
REPUTAZIONE
N/A
CONTRIBUTI
0 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
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...
oltre 2 anni fa
Risolto
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 ...
oltre 2 anni fa
Risolto
Square a Number
Given an input x, return y, which is equal to the square of x.
oltre 2 anni fa
Risolto
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 ...
oltre 2 anni fa
Risolto
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
oltre 2 anni fa
Risolto
Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem
oltre 2 anni fa
Risolto
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
oltre 2 anni fa
Risolto
Determine if input is greater than pi
Evaluate if given number is greater than pi. If greater, return true; else, return false.
oltre 2 anni fa
Risolto
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
oltre 2 anni fa
Risolto
Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];
oltre 2 anni fa
Risolto
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;
oltre 2 anni fa
Risolto
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".
oltre 2 anni fa
Risolto
Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...
oltre 2 anni fa
Risolto
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
oltre 2 anni fa
Risolto
Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...
oltre 2 anni fa
Risolto
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
oltre 2 anni fa
Risolto
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
oltre 2 anni fa
Risolto
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 ...
oltre 2 anni fa
Risolto
Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...
oltre 2 anni fa
Risolto
Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...
oltre 2 anni fa
Risolto
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...
oltre 2 anni fa
Risolto
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...
oltre 2 anni fa
Risolto
Swap between columns
The idea is to swap between second and second last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...
oltre 2 anni fa

