解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


Explode string
Break a sentence into cell of words

9年以上 前

解決済み


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

9年以上 前

解決済み


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.

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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.

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

さらに読み込む