Grzegorz Knor
Followers: 0 Following: 0
Professional Interests: data science, finite element method, signal processing, machine learning
Python
Statistiques
RANG
143
of 295 448
RÉPUTATION
869
CONTRIBUTIONS
10 Questions
305 Réponses
ACCEPTATION DE VOS RÉPONSES
60.0%
VOTES REÇUS
159
RANG
2 553 of 20 227
RÉPUTATION
662
CLASSEMENT MOYEN
4.10
CONTRIBUTIONS
4 Fichiers
TÉLÉCHARGEMENTS
13
ALL TIME TÉLÉCHARGEMENTS
6333
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
How to subtract?
*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...
environ 7 ans il y a
A résolu
Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...
presque 8 ans il y a
A résolu
Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...
presque 8 ans il y a
A résolu
Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15
presque 8 ans il y a
A résolu
Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...
presque 8 ans il y a
A résolu
Concatenate strings
concatenate a variable number of input strings to produce one outputstring
presque 8 ans il y a
A résolu
Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
presque 8 ans il y a
A résolu
Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...
presque 8 ans il y a
A résolu
Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...
presque 8 ans il y a
A résolu
BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...
presque 8 ans il y a
A résolu
Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33
presque 8 ans il y a
A résolu
Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6
presque 8 ans il y a
A résolu
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
presque 8 ans il y a
A résolu
Evil Number
Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.
presque 8 ans il y a
A résolu
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
presque 8 ans il y a
A résolu
Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...
presque 8 ans il y a
A résolu
Matlab Basics - Set unwanted parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. Example x = [1 2 3 4 5 6 7] --> ...
presque 8 ans il y a
A résolu
What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...
presque 8 ans il y a
A résolu
Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3
presque 8 ans il y a
A résolu
Square a Number
Given an input x, return y, which is equal to the square of x.
presque 8 ans il y a
A résolu
Times 3 problem
When you enter the number, it should return the number multiplied by 3
presque 8 ans il y a
A résolu
find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y
presque 8 ans il y a
A résolu
Area of a circle
Find the value for area of the circle if diameter is given
presque 8 ans il y a
A résolu
Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
presque 8 ans il y a
A résolu
Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]
presque 8 ans il y a
A résolu
Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];
presque 8 ans il y a
A résolu
Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...
presque 8 ans il y a
A résolu
Find the 9's Complement
Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...
presque 8 ans il y a