解決済み


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

5年以上 前

解決済み


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

5年以上 前

解決済み


Concatenate strings
concatenate a variable number of input strings to produce one outputstring

5年以上 前

解決済み


The prisoner
"We want information, information, information." "Who are you?" Input can be a string or a number (array).

5年以上 前

解決済み


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

5年以上 前

解決済み


raise 1/3
Raise a number to 1/3 power.

5年以上 前

解決済み


Spherical Volume
Calculate the volume of a sphere.

5年以上 前

解決済み


true or false
if the matrix has a zero, return true. else, return false

5年以上 前

解決済み


Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

5年以上 前

解決済み


Too Many Zeros, Dump Them!
Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...

5年以上 前

解決済み


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

5年以上 前

解決済み


Convert a vector into a number
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

5年以上 前

解決済み


Complex transpose
Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part. ...

5年以上 前

解決済み


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

5年以上 前

解決済み


Penny flipping - calculate winning probability (easy)
Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...

5年以上 前

解決済み


Avalaible area: wall construction
You need to build a wall to enclose a certain area. Calculate the available area after you build the wall. Assumptions * ...

5年以上 前

解決済み


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

5年以上 前

解決済み


Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

5年以上 前

解決済み


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

5年以上 前

解決済み


Determine point is located in a circle or not
Using input [x] and [y], determine the points (x,y) is located inside of circle (x^2+y^2=1) if point is located in circle,...

5年以上 前

解決済み


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

5年以上 前

解決済み


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

5年以上 前

解決済み


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.

5年以上 前

解決済み


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

5年以上 前

解決済み


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

5年以上 前

解決済み


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

5年以上 前

解決済み


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

5年以上 前

解決済み


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

5年以上 前

解決済み


String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

5年以上 前

解決済み


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

5年以上 前

さらに読み込む