Gelöst


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

mehr als ein Jahr vor

Gelöst


Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0

mehr als ein Jahr vor

Gelöst


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

mehr als ein Jahr vor

Gelöst


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

mehr als ein Jahr vor

Gelöst


Square a Number
Given an input x, return y, which is equal to the square of x.

mehr als ein Jahr vor

Gelöst


square root
Find the square root (y) of an input (x).

mehr als ein Jahr vor

Gelöst


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

mehr als ein Jahr vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

mehr als ein Jahr vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

mehr als ein Jahr vor

Gelöst


Sort in descending order.

mehr als ein Jahr vor

Gelöst


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

mehr als ein Jahr vor

Gelöst


Converts numbers into characters
Converts numbers into characters

mehr als ein Jahr vor

Gelöst


Find the max element of the array
Find the max element of the array

mehr als ein Jahr vor

Gelöst


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

mehr als ein Jahr vor

Gelöst


the average value of the elements
Calculate the average value of the elements in the array

mehr als ein Jahr vor

Gelöst


Double all elements in the array
Duplicate all elements in the array

mehr als ein Jahr vor

Gelöst


calculate the length of matrix
input 1 array, calculate the length

mehr als ein Jahr vor

Gelöst


Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?

mehr als ein Jahr vor

Gelöst


Sum of series VIII

mehr als ein Jahr vor

Gelöst


Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

mehr als ein Jahr vor

Gelöst


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

mehr als ein Jahr vor

Gelöst


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

mehr als ein Jahr 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?

mehr als ein Jahr 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?

mehr als ein Jahr 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?

mehr als ein Jahr vor

Gelöst


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

mehr als ein Jahr vor

Gelöst


Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

mehr als ein Jahr vor

Gelöst


Reverse the Words (not letters) of a String
*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...

mehr als ein Jahr vor

Gelöst


Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...

mehr als ein Jahr vor

Gelöst


Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...

mehr als ein Jahr vor

Mehr laden