Statistica
0 Problemi
79 Soluzioni
RANK
N/A
of 301.060
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
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
3 mesi fa
Risolto
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
3 mesi 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 to use d...
3 mesi fa
Risolto
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
3 mesi fa
Risolto
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
3 mesi fa
Risolto
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
3 mesi fa
Risolto
Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...
3 mesi fa
Risolto
Calculate Reynolds Number
Write a MATLAB function that calculates the Reynolds number for flow over a flat plate: ρ = fluid density (kg/m³) V = veloc...
3 mesi fa
Risolto
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
3 mesi fa
Risolto
Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...
3 mesi fa
Risolto
The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...
3 mesi fa
Risolto
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
3 mesi fa
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...
3 mesi fa
Risolto
the average value of the elements
Calculate the average value of the elements in the array
3 mesi fa
Risolto
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
3 mesi fa
Risolto
Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.
3 mesi fa
Risolto
Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.
3 mesi fa
Risolto
Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...
3 mesi fa
Risolto
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
3 mesi fa
Risolto
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: ...
3 mesi fa



