Statistica
0 Problemi
94 Soluzioni
RANK
N/A
of 302.357
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
Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.
quasi 3 anni fa
Risolto
Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...
quasi 3 anni fa
Risolto
Sum of first n positive integers
Given n, find the sum of first n positive integers Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55
quasi 3 anni fa
Risolto
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]
quasi 3 anni fa
Risolto
Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...
quasi 3 anni fa
Risolto
The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...
quasi 3 anni fa
Risolto
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
quasi 3 anni fa
Risolto
Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...
quasi 3 anni fa
Risolto
Square a Number
Given an input x, return y, which is equal to the square of x.
quasi 3 anni fa
Risolto
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...
quasi 3 anni fa
Risolto
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
quasi 3 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 ...
quasi 3 anni fa
Risolto
Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...
quasi 3 anni fa
Risolto
Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.
quasi 3 anni fa
Risolto
surface of a spherical planet
you just discovered its circumference, that is the input.
quasi 3 anni fa
Risolto
Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product
quasi 3 anni fa
Risolto
Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
quasi 3 anni fa
Risolto
Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle
quasi 3 anni fa
Risolto
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
quasi 3 anni fa

