Statistica
0 Problemi
16 Soluzioni
RANK
N/A
of 302.038
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
MATLAB 101: Fibonacci Sequence
The Fibonacci sequence is defined by the rule that each number is the sum of the two preceding ones. Sequence: 0, 1, 1, 2, 3, 5,...
4 giorni fa
Risolto
Count the vowels in a string
Given a string, return the number of vowels (a, e, i, o, u — case insensitive). Example: count_vowels('Hello World') returns 3
4 giorni fa
Risolto
the average value of the elements
Calculate the average value of the elements in the array
4 giorni fa
Risolto
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
4 giorni fa
Risolto
Determine if a number is prime
Given a positive integer n, return 1 if it is prime, 0 otherwise. Example: is_prime(7) returns 1, is_prime(4) returns 0
4 giorni fa
Risolto
Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...
4 giorni fa
Risolto
Generate Tribonacci Sequence
The "Tribonacci" sequence is an extension of the idea of the Fibonacci sequence: That is, each new term is the sum of the thr...
4 giorni fa
Risolto
MATLAB 101: Factorial Finder
The factorial of a non-negative integer n (denoted as n!) is the product of all positive integers less than or equal to n. For e...
4 giorni fa
Risolto
Fuel-Air Equivalence Ratio (Lambda)
Lambda (λ) is the ratio of actual air-fuel ratio to the stoichiometric air-fuel ratio. λ = 1 is perfect stoichiometry, λ < 1...
11 giorni fa
Risolto
Engine Displacement
Engine displacement is the total swept volume of all cylinders. It is determined by bore (cylinder diameter), stroke (piston t...
11 giorni fa
Risolto
Engine torque and RPM
Torque and power are related through rotational speed. Knowing brake power and engine RPM, you can back-calculate the torque del...
11 giorni fa
Risolto
Engine Thermal Efficiency
The thermal efficiency of an ideal Otto cycle engine depends only on the compression ratio. A higher compression ratio yields gr...
11 giorni fa
Risolto
Gray code
Given a decimal number, convert it to its corresponding Gray code (see https://en.wikipedia.org/wiki/Gray_code). 8 -- 1100...
11 giorni fa
Risolto
2D - Mean Filter
Assume you are given an "image" matrix of size NxM. Reduce the image noise by implementing a mean filter window of size 9 (a 3x3...
11 giorni fa
Risolto
Convert a grayscale image into RGB colour format, preserving data type
In the Image Processing Toolbox, MATLAB provides rgb2gray to convert a 3 channel color image into a 1 channel intensity...
11 giorni fa
Risolto
MATLAB 101: Reverse a Vector
Write a MATLAB function that takes a 1D vector (either a row or a column vector) and returns the vector with its elements in exa...
18 giorni fa
