Community Profile

Björn

216 2015 年以降の合計貢献数

Interested in insurance and football betting

Björn's バッジ

Merging CSV files with similar data structure into table
Merging CSV files into table I am trying to find a way to read each csv file with read table and merge into a big table witho...

1

Calmonths issues with February
I found the answer: The term unit of a month is a bit ambigiuous. But going to the end of a month is not controversial... Th...

3年以上 前 | 0

Calmonths issues with February
What is going wrong here? Shifting to the month end works fine for this example: t0 = datetime(2016,1,1);t1 = dateshift(...

3年以上 前 | 2 件の回答 | 0

2

Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

3年以上 前

Find 1's Complement
Find 1's complement of a binary number For Example: x = 10011010 1's complement of x = 01100101

3年以上 前

Step up
For given input array, output a array with all elements step up by two

3年以上 前

Sum of Matrix
Sum of Matrix

3年以上 前

MATLAB Basic: rounding IV

3年以上 前

MATLAB Basic: rounding III

3年以上 前

MATLAB Basic: rounding II

3年以上 前

MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

3年以上 前

Bulls Eye Matrix
Bulls Eye Matrix

3年以上 前

prime to each other
Given two integers n1, n2 greater than 1, find out if they are prime to each other.

3年以上 前

Sum of elements of array
Sum of elements of array

3年以上 前

multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

3年以上 前

Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

3年以上 前

Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

3年以上 前

Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

3年以上 前

Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

3年以上 前

Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

3年以上 前

Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

3年以上 前

Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

3年以上 前

Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

3年以上 前

Factorial !
Calculate the factorial of a non-negative integer without using the built in function *factorial*

3年以上 前

Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...

3年以上 前

Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

3年以上 前

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...

3年以上 前

Positive Infinity
Round the array a towards positive infinity

3年以上 前

Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

3年以上 前

Getting the row and column location from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get <http://www.mathwo...

3年以上 前