Statistik
0 Probleme
151 Lösungen
RANG
N/A
of 300.756
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 21.077
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Discussions
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...
etwa 9 Stunden vor
Gelöst
Find the peak 3n+1 sequence value
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...
etwa 9 Stunden vor
Gelöst
Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?
etwa 9 Stunden vor
Gelöst
Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?
etwa 9 Stunden vor
Gelöst
Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?
etwa 9 Stunden vor
Gelöst
Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.
etwa 9 Stunden vor
Gelöst
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
etwa 9 Stunden vor
Gelöst
04 - Scalar Equations 2
Define the variables a and b: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b.png>...
etwa 9 Stunden vor
Gelöst
Back to basics 26 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of strings of all MATLAB keywords.
etwa 9 Stunden vor
Gelöst
04 - Scalar Equations 1
Define the variable a: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> Use this to calculate x: <<http://samle.dk/STTBD...
etwa 9 Stunden vor
Gelöst
02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>
etwa 9 Stunden vor
Gelöst
letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...
etwa 9 Stunden vor
Gelöst
Getting the indices from a matrix
Inspired by Problem 645. Getting the indices from a matrix. Given a matrix A (or a vector), return the indices (always in row...
etwa 9 Stunden vor
Gelöst
Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...
etwa 10 Stunden vor
Gelöst
Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.
etwa 10 Stunden vor
Gelöst
Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....
etwa 10 Stunden vor
Gelöst
Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...
etwa 10 Stunden vor
Gelöst
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)...
etwa 10 Stunden vor
Gelöst
Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...
etwa 10 Stunden vor
Gelöst
Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...
etwa 10 Stunden vor
Gelöst
Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...
etwa 10 Stunden vor
Gelöst
Square a Number
Given an input x, return y, which is equal to the square of x.
etwa 10 Stunden vor
Gelöst
Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]
etwa 10 Stunden vor
Gelöst
Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...
etwa 10 Stunden vor
Gelöst
Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...
etwa 10 Stunden vor
Gelöst
2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cornelius...
etwa 10 Stunden vor
Gelöst
03 - Matrix Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3b.png>> A 9x9 matrix of zeros, but with the following v...
etwa 10 Stunden vor
Gelöst
03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>
etwa 10 Stunden vor
Gelöst
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?
etwa 10 Stunden vor
Gelöst
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
etwa 10 Stunden vor
