Statistica
All
RANK
262.187
of 300.813
REPUTAZIONE
0
CONTRIBUTI
0 Domande
2 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
Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.
quasi 2 anni fa
Risolto
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
quasi 2 anni fa
Risolto
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...
quasi 2 anni fa
Risolto
Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...
quasi 2 anni fa
Risolto
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
quasi 2 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 ...
quasi 2 anni fa
Risolto
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
quasi 2 anni fa
Risolto
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
quasi 2 anni 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 ...
quasi 2 anni fa
Risposto
how to sum value of fields on struct?
s = struct; % create a scalar (1-by-1) structure with no fields N = 1000; % number of fields to be created for i = 1 : N ...
how to sum value of fields on struct?
s = struct; % create a scalar (1-by-1) structure with no fields N = 1000; % number of fields to be created for i = 1 : N ...
quasi 3 anni fa | 0
Risposto
How do I wrap text using the disp or display function?
I found this solution in comments of Chad Green's wraptext function. Works well to me and I'm using it in livescript publishing....
How do I wrap text using the disp or display function?
I found this solution in comments of Chad Green's wraptext function. Works well to me and I'm using it in livescript publishing....
quasi 3 anni fa | 0

