Statistica
RANK
8.141
of 298.339
REPUTAZIONE
6
CONTRIBUTI
1 Domanda
4 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.0%
VOTI RICEVUTI
1
RANK
4.149 of 20.567
REPUTAZIONE
349
VALUTAZIONE MEDIA
4.00
CONTRIBUTI
4 File
DOWNLOAD
13
ALL TIME DOWNLOAD
3443
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...
quasi 5 anni fa
Risolto
Matrix with different incremental runs
Given a vector of positive integers a = [ 3 2 4 ]; create the matrix where the *i* th column contains the vector *1:a(i)...
circa 5 anni fa
Risolto
Rotate input square matrix 90 degrees CCW without rot90
Rotate input matrix (which will be square) 90 degrees counter-clockwise without using rot90,flipud,fliplr, or flipdim (or eval)....
circa 5 anni fa
Risolto
Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...
circa 5 anni fa
Risolto
Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...
circa 5 anni fa
Risolto
Guess Cipher
Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifmq zpv...
circa 5 anni fa
Risolto
intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identi...
circa 5 anni fa
Risolto
We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...
circa 5 anni fa
Risolto
Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...
circa 5 anni fa
How to assign a value against a string from 1st column to other?
Hi, The fastest way would be to create a Matlab variable directly. However, should you want to create a dynamic link to an Exce...
circa 5 anni fa | 0
Update GUI based on values chosen in a Radio Button Group
Hi, One possibility (might not be the most elegant solution) is to read all radio buttons in a single variable. When you cre...
circa 5 anni fa | 0
check whether an interval instant belongs to an array of intervals
Hi, I would use cellfun to loop through the intervals and check in each cell. The function belows takes the cell array C and ...
circa 5 anni fa | 0
| accettato
Assigning values from one array to another if certain specifications are met.
Hi, I think this should do the trick: A= [0 1 2 3 6 8 9 10; ... 0 0 0 0 0 ...
circa 5 anni fa | 1
Risolto
Construct an index vector from two input vectors in vectorized fashion
Create an index vector defined by two input vectors, one defining the beginnings of one or more index ranges, and the other defi...
circa 5 anni 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 ...
oltre 5 anni fa
Risolto
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
oltre 5 anni 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 ...
oltre 5 anni fa
Domanda
Arduino support package win10 compatibility
Hi, I'm trying to get Matlab and Simulink set up to work with an Arduino. However, when I try to install the support package...
oltre 5 anni fa | 0 risposte | 0
0
risposteRisolto
Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.
quasi 6 anni fa
Risolto
Set some matrix elements to zero
First get the maximum of each *row*, and afterwards set all the other elements to zero. For example, this matrix: 1 2 3 ...
quasi 6 anni fa
Risolto
Permute diagonal and antidiagonal
Permute diagonal and antidiagonal For example [1 2 3;4 5 6;7 8 9] -> [3 2 1;4 5 6;9 8 7] WITHOUT diag function (and variable n...
quasi 6 anni fa
Risolto
Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...
quasi 6 anni fa
Risolto
Make an awesome ramp for a tiny motorcycle stuntman
Okay, given a vector, say v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 3 6 9 11 0; 6 9 ...
quasi 6 anni fa
Risolto
surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...
quasi 6 anni fa
Risolto
Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...
quasi 6 anni fa
Risolto
Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...
circa 10 anni fa
Risolto
Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...
oltre 10 anni fa