Statistica
0 Problemi
83 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
A matrix of extroverts
Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...
circa 2 mesi fa
Risolto
frame of the matrix
Given the matrix M, return M without the external frame.
circa 2 mesi 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...
circa 2 mesi fa
Risolto
String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...
circa 2 mesi fa
Risolto
Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....
circa 2 mesi fa
Risolto
Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'
circa 2 mesi fa
Risolto
Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...
circa 2 mesi fa
Risolto
Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...
circa 2 mesi fa
Risolto
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
circa 2 mesi fa
Risolto
Rainbow matrix
Create a "rainbow matrix" as described in the following examples Input = 3 Output = [ 1 2 3 2 3 2 ...
circa 2 mesi fa
Risolto
Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...
circa 2 mesi fa
Risolto
BULLSEYE Part 2: Reference Problem 18 BULLSEYE
Given n (always odd), return output a that has concentric rings of the 1s and 0s around the center point. Examples: Input ...
circa 2 mesi fa
Risolto
Numbers spiral diagonals (Part 2)
Inspired by Project Euler n°28 and 58. A n x n spiral matrix is obtained by starting with the number 1 and moving to the right ...
circa 2 mesi fa
Risolto
Toeplitz Matrix
For a given square matrix of order n-by-n check whether this is a Toeplitz matrix or not. Return true if it is.
circa 2 mesi fa
Risolto
ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...
circa 2 mesi fa
Risolto
Generate Square Wave
Generate a square wave of desired length, number of complete cycles and duty cycle. Here, duty cycle is defined as the fraction ...
circa 2 mesi fa
Risolto
Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?
circa 2 mesi fa
Risolto
Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?
circa 2 mesi fa
Risolto
Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?
circa 2 mesi fa
Risolto
Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?
circa 2 mesi fa
Risolto
Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?
circa 2 mesi fa
Risolto
Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?
circa 2 mesi fa
Risolto
Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?
circa 2 mesi 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...
circa 2 mesi fa
Risolto
Find MPG of Lightest Cars
The file cars.mat contains a table named cars with variables Model, MPG, Horsepower, Weight, and Acceleration for several classi...
circa 2 mesi fa
Risolto
Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...
circa 2 mesi 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...
circa 2 mesi fa
Risolto
Calculate BMI
Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: 1 kilogram = 2.2 pounds 1 inch = 2...
circa 2 mesi fa
Risolto
Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...
circa 2 mesi fa
Risolto
Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as y = A.ⅇ^(-λt)*cos(2πft) where A, λ, and f are scalars and t is a vector. ...
circa 2 mesi fa


