Statistiques
RANG
19
of 297 613
RÉPUTATION
13 933
CONTRIBUTIONS
4 Questions
4 496 Réponses
ACCEPTATION DE VOS RÉPONSES
100.0%
VOTES REÇUS
1 593
RANG
6 041 of 20 457
RÉPUTATION
193
CLASSEMENT MOYEN
4.70
CONTRIBUTIONS
2 Fichiers
TÉLÉCHARGEMENTS
2
ALL TIME TÉLÉCHARGEMENTS
1285
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
1 Public Chaîne
CLASSEMENT MOYEN
30
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...
presque 5 ans il y a
A résolu
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
presque 5 ans il y a
A résolu
Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
environ 5 ans il y a
A résolu
Must be in the front row...
You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...
plus de 6 ans il y a
A résolu
Too Many Zeros, Dump Them!
Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...
plus de 6 ans il y a
A résolu
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...
plus de 6 ans il y a
A résolu
Enlarge array
Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...
plus de 6 ans il y a
A résolu
Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...
plus de 6 ans il y a
A résolu
Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...
plus de 6 ans il y a
A résolu
subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.
plus de 6 ans il y a
A résolu
Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...
plus de 6 ans il y a
A résolu
frame of the matrix
Given the matrix M, return M without the external frame.
plus de 6 ans il y a
A résolu
Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...
presque 7 ans il y a
A résolu
Given a 4x4 matrix, swap the two middle 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...
presque 7 ans il y a
A résolu
Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...
presque 7 ans il y a
A résolu
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
presque 7 ans il y a
A résolu
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
presque 7 ans il y a
A résolu
Compute the step response of a DC motor
Compute the step response of a DC motor shown below <<http://blogs.mathworks.com/images/seth/cody/dc-motor.png>> The param...
presque 7 ans il y a
A résolu
Produce a Fibonacci sequence
Construct a diagram that generates the Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34.....up to 377 The Fibonacci sequ...
presque 7 ans il y a
A résolu
Make a low pass filter
Make a first order low pass filter that will filter out the high frequency oscillations for the given input signal. The cut-off ...
presque 7 ans il y a
A résolu
Model a simple pendulum
Model a simple pendulum of length 200cm with bob of mass 100g and plot the position in degrees. The pendulum starts at 30 degree...
presque 7 ans il y a
A résolu
Convert elements in numeric array into different class
Write a function that converts elements in a numeric array into a different class. Example: a = [1:5]; % class: double b...
presque 7 ans il y a
A résolu
Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0
presque 7 ans il y a
A résolu
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
presque 7 ans il y a
A résolu
NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...
presque 7 ans il y a
A résolu
Scoring for oriented dominoes
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...
presque 7 ans il y a
A résolu
Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...
presque 7 ans il y a
A résolu
Rosenbrock's Banana Function and its derivatives
Write a function to return the value of <http://en.wikipedia.org/wiki/Rosenbrock_function Rosenbrock's two-dimensional banana fu...
presque 7 ans il y a
A résolu
7 segment LED display
Given a whole number, output how many segments would be lit up to display it on a 7 segment LED display (see Wikipedia: <http://...
presque 7 ans il y a
A résolu
Test if a Number is a Palindrome without using any String Operations
*Description* Given an integer _X_, determine if it is a palindrome number. That is, _X_ is equal to the _X_ with the digits ...
presque 7 ans il y a