Statistik
0 Probleme
175 Lösungen
RANG
N/A
of 302.380
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 21.759
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
04 - Scalar Equations 3
Define the variables a, b, and c: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b....
fast 10 Jahre vor
Gelöst
07 - Common functions and indexing 6
Create a variable _m_ as a magic square with the size 6 x 6 Magic squares are defined as square matrices, where the sum of a...
fast 10 Jahre vor
Gelöst
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
fast 10 Jahre vor
Gelöst
Add 7
Given an input variable x, output a variable y that is 7 greater than x. Example: Input x = 1 Output y is 8 Input ...
fast 10 Jahre vor
Gelöst
Which quadrant?
Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...
fast 10 Jahre vor
Gelöst
Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5
fast 10 Jahre vor
Gelöst
While loop with branching
Write a while loop that adjusts userValue while userValue is less than 0 or greater than 80. If userValue is greater than 80, th...
fast 10 Jahre vor
Gelöst
Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.
fast 10 Jahre vor
Gelöst
Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...
fast 10 Jahre 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>...
fast 10 Jahre 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...
fast 10 Jahre vor
Gelöst
Back to basics 17 - white space
Covering some basic topics I haven't seen elsewhere on Cody. Remove the trailing white spaces from the input variable
fast 10 Jahre vor
Gelöst
Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.
fast 10 Jahre vor
Gelöst
sum of non-primes
The sum of the non-primes below 10 is 1+4+6+8+9+10=38 Find the sum of all the non-primes below the input, N.
fast 10 Jahre vor
Gelöst
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
fast 10 Jahre vor
Gelöst
Logical operators: Flipping bits
The xor operator will toggle the bit if the bit is xored with 1. Ex: 1 XOR 0 = 1, 1 XOR 1 = 0. The xor operator will retain th...
fast 10 Jahre vor
Gelöst
Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...
fast 10 Jahre 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.
fast 10 Jahre vor
Gelöst
Equal to their cube
Tell me three real numbers that are equal to their cubes?
fast 10 Jahre vor
Gelöst
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
fast 10 Jahre vor
Gelöst
Logical operators and arrays: 3-input and truth table
Given 3 inputs (inputA, inputB, inputC), assign threeInputAnd with the truth table outcomes for a 3 variable logical-and operati...
fast 10 Jahre vor
Gelöst
The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...
fast 10 Jahre vor
Gelöst
02 - Vector Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2d.png>> (Logarithmically spaced numbers between 1 and 1...
fast 10 Jahre vor
Gelöst
Logical variables: Running late?
* Assign onTime with true if noTraffic is true and gasEmpty is false.
fast 10 Jahre vor
Gelöst
make an eye matrix which element is 1:n
for a given input n, make an n by n matrix which contains elements 1:n for example input =5 output = [1 0 0 0 0;0 2 0 0 0; 0...
etwa 10 Jahre vor


