Gelöst


Is the paranthesis sequence balanced ?
Quantum mechanics and computer science are interested in <http://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation bra-kets>. Today...

mehr als 9 Jahre vor

Gelöst


i forgot to use capital I
When referring to yourself you should write "I" (capital) and not "i". So correct the input string x, but be aware that other u...

mehr als 9 Jahre vor

Gelöst


Return strings encapsulated by braces
Return all substrings that are contained within braces ({}). For example: str = 'x = rho*x{-1} + (1-rho)*y{+1}'; when...

mehr als 9 Jahre vor

Gelöst


Find the sines of an isosceles triangle when given its area and height to its base.
Find the sines of an isosceles triangle when given its area and height to its base. Example S=60, h=5 result=[0.3752 0.3752 0...

mehr als 9 Jahre vor

Gelöst


time of day
Calculate the time of day in days, hours, minutes or seconds passed since the beginning of the day, depending on the unit. The u...

mehr als 9 Jahre vor

Gelöst


nanoseconds passed today
Calculate the amount of nanoseconds passed in the current day of a certain date string.

mehr als 9 Jahre vor

Gelöst


microseconds passed today
Calculate the amount of microseconds (as a string) passed for a given date string

mehr als 9 Jahre vor

Gelöst


Return ! if array element starts with a certain letter. Otherwise return ?
Input x=['try' 'once' 'more']; s='t' Output ans='!' Input x=['try' 'once' 'more']; s='O' Output ...

mehr als 9 Jahre vor

Gelöst


Check if a string starts with another string
Input s='He was so tired' q='He' Output ans = true

mehr als 9 Jahre vor

Gelöst


Return the length of the longest word in the string.
Example: Input s='A fractal is a natural phenomenon or a mathematical set that exhibits a repeating pattern that display...

mehr als 9 Jahre vor

Gelöst


Create cotangent function out of sine.
Please, don't use cos, tan, cot matlab functions.

mehr als 9 Jahre vor

Gelöst


Explode string
Break a sentence into cell of words

mehr als 9 Jahre vor

Gelöst


Euclidean distance from a point to a polynomial
A not uncommon problem in the area of computational geometry is to find the closest point to a straight line from a given point,...

mehr als 9 Jahre vor

Gelöst


Replace 0 to NaN!
In given matrix A=[1 nan nan; 2 2 nan; nan nan 1]; replace NaN to 0. Use matrix A as a input.

mehr als 9 Jahre vor

Gelöst


Find the product of the positive elements above the main diagonal.
Example Input A=[1 2; -3 0] Output 2

mehr als 9 Jahre vor

Gelöst


Power of n ?
Determine if _x_ (positive integer) is a power of _n_, return true or false accordingly.

mehr als 9 Jahre vor

Gelöst


Find matrix of indices for multidimensional matrix.
Given some multidimensional matrix A. Get a matrix of the same size as A where all elements are replaced by their index along th...

mehr als 9 Jahre vor

Gelöst


Calculate the centroid of a triangle
Info: https://en.wikipedia.org/wiki/Centroid Example Input: x = [0 0 1]; % x-coordinate y = [0 1 0]; % y-coordinat...

mehr als 9 Jahre vor

Gelöst


Counting candies
In a classroom of |'n'| children, every even numbered child gets one big candy and every odd numbered child gets two small candi...

mehr als 9 Jahre vor

Gelöst


how to concatenate matrices
What is the name of the function used to create a matrix C form two matrices A and B, using the syntax: C = [A B]; Outpu...

mehr als 9 Jahre vor

Gelöst


Send vector into a struct object
Construct a struct object that contains n fields named a1, a2, ..., an, and has values from a given input vector of length n.

mehr als 9 Jahre vor

Gelöst


struct2values()
Convert a struct object into a column vector. You can assume that the struct elements are scalars Example: a = struct();...

mehr als 9 Jahre vor

Gelöst


Find the Sum of the Series:
<<https://psv4.vk.me/c810428/u48725350/docs/03e9821af0aa/for.jpg?extra=iyw_6UQfL0GhDJ2NtppzhQFjAvaCe79tBk0IIpSRcn5jRJvUgdAe4u7KP...

mehr als 9 Jahre vor

Gelöst


Solution to Ax=b with singular A
Find solution to Ax=b problem if A is singular. Hint: Compute a minimum norm solution

mehr als 9 Jahre vor

Gelöst


My cat likes strings!!
Create a string of specified length or more. It's that simple!

mehr als 9 Jahre vor

Gelöst


Logarithm with base other than 'e'
Standard log() function returns natural logarithm with base equal to Euler constant. Compute logarithm for a given base.

mehr als 9 Jahre vor

Gelöst


What do you get if you multiply six by nine?
The Hitchhiker's Guide to the Galaxy based task. Tip: 13-base numeral system

mehr als 9 Jahre vor

Gelöst


Find the sides of an isosceles triangle when given its area and height to its base.
Find the sides of an isosceles triangle when given its area and height to its base. Example S=12, h=4, result will be [5 5 6]...

mehr als 9 Jahre vor

Gelöst


What does the "B" in Benoit B Mandelbrot stand for?
Tip https://en.wikipedia.org/wiki/Mandelbrot_set

mehr als 9 Jahre vor

Gelöst


Calculate the eigenvalues of A.
Calculate the sum of the eigenvalues of A. If it's odd return cubed else return 54.

mehr als 9 Jahre vor

Mehr laden