Statistica
0 Problemi
184 Soluzioni
RANK
N/A
of 301.204
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
Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The values of B are in the same order a...
circa un anno fa
Risolto
Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15
circa un anno fa
Risolto
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
circa un anno fa
Risolto
Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.
circa un anno fa
Risolto
Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...
circa un anno fa
Risolto
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
circa un anno fa
Risolto
Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...
oltre un anno fa
Risolto
Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...
oltre un anno fa
Risolto
Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.
oltre un anno fa
Risolto
modular arithmetic
Given three integers a,b and c, find the remainder when a^b is divided by c. Here, a^b will be well beyond the largest 64 bit in...
oltre un anno fa
Risolto
Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.
oltre un anno fa
Risolto
Sort by absolute value
Given a list of numbers, arrange them in ascending order based on their absolute values. For example, for the list [-30, -5, 1...
oltre un anno fa
Risolto
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
oltre un anno fa
Risolto
Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)
oltre un anno 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...
oltre un anno fa
Risolto
matrix zigzag
Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...
oltre un anno fa
Risolto
Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...
oltre un anno fa
Risolto
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If p is the perimeter of a right angle triangle with integral length sides, { a, b, c }, there are exactly three solutions for p...
oltre un anno fa
Risolto
Calculate Inner Product
Given two input matrices, x and y, check if their inner dimensions match. If they match, create an output variable z which cont...
oltre un anno fa
Risolto
Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...
oltre un anno fa



