photo

Wenwen Gan


Last seen: plus de 3 ans il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

Cody

0 Problèmes
16 Solutions

RANG
N/A
of 300 950

RÉPUTATION
N/A

CONTRIBUTIONS
0 Questions
0 Réponses

ACCEPTATION DE VOS RÉPONSES
0.00%

VOTES REÇUS
0

RANG
 of 21 120

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
30 212
of 171 885

CONTRIBUTIONS
0 Problèmes
16 Solutions

SCORE
170

NOMBRE DE BADGES
1

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


non-repitition of numbers in a vector

environ 4 ans il y a

A résolu


print

environ 4 ans il y a

A résolu


sign function

environ 4 ans il y a

A résolu


Add the odd numbers
Add only the odd numbers of x example: x = [1 2 3 4 5] the positive numbers are: 1 3 5, so their sum is 9

environ 4 ans il y a

A résolu


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

environ 4 ans il y a

A résolu


sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters. for example, if x='lala' ('l'-> 108, 'a'->97) then y...

environ 4 ans il y a

A résolu


Recursion at variable input
input of any length a =2 b =2 c =3 output = (a^b)^c = 64

environ 4 ans il y a

A résolu


Magnitude of a vector
Given a vector x, what is its magnitude?

environ 4 ans il y a

A résolu


Maximum of ND-array
Find the maximum element of a N dimensional array. Example: A=[1 2 4 ; -20 4 10]; The maximum is 10.

environ 4 ans il y a

A résolu


Wrap-around effect
In vector x of length n we define (n+1) position as going back to the first position (so called wrap-around effect). Can you ret...

environ 4 ans il y a

A résolu


Non trivial identities - reshape
Return x by reshaping it.

environ 4 ans il y a

A résolu


Convert decimal to binary and then generate the minimum binary it can with jumbling
input is 10 --> 1010 output should be 3 --> 0011 input 23 --> 10111 output should be 15 --> 01111

environ 4 ans il y a

A résolu


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

environ 4 ans il y a

A résolu


Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x. p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...

environ 4 ans il y a

A résolu


02 - Vector Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2a.png>>

environ 4 ans il y a

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ 4 ans il y a