已解决


Adding machine
Add number to all elements in given vector.

8 years 前

已解决


isnan()
Replace all nans with zeros

8 years 前

已解决


How to find average of each column ?
How to find average of each column for a given matrix?

8 years 前

已解决


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

8 years 前

已解决


Convert decimal to hex as shown in test cases
Convert decimal to hex as shown in test cases.

8 years 前

已解决


Upper Matrix in LU Decompositon
Get the Upper Matrix of the Matrix Given Please have a pride on not using built-in Matlab functions :)

8 years 前

已解决


Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

8 years 前

提问


How to genneral a repeat array
I have a array a = [1, 2 , 3 ,4], I want to repeat every element 3 times. The result is [1,1,1,2,2,2,3,3,3,4,4,4]

8 years 前 | 3 个回答 | 0

3

个回答

已解决


Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x. p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...

8 years 前

已解决


How many figures currently exist?
Return the number of figures that exist at any given time.

8 years 前

已解决


Sudoku square
We have a small sudoku square, but we miss one number. x=[ 1 5 4; 8 6 3; 0 9 7]; Make a function, where output is fi...

8 years 前

已解决


Simple polynomial evaluation
Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0. p(x)=1+x+x^2+...+x^n...

8 years 前

已解决


Number of primes
Count the number of primes less than 'n'.

8 years 前

已解决


Beat the test suite if you can :)
Test Suites are laid there for clues

8 years 前

已解决


Creating a code via test suite :)
Given the test suites, create a code that would fit them :) *Clue: Pascal's Triangle

8 years 前

已解决


Rotate array 90 degrees
Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

8 years 前

已解决


kmph to mph converter
Convert the speed in miles/hour to km/hour.

8 years 前

已解决


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

8 years 前

已解决


Clipper Function
Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...

8 years 前

已解决


Super Basic - 3 + true equals ??
Solve the title

8 years 前

已解决


How many Optimus
Get the number of primes given a vector

8 years 前

已解决


Check that given number is 3*n
Check that input of multiple of three (3*n). if given number is included in 3*n, print true. (hint: use mod)

8 years 前

已解决


Sum of the squares of optimus
Get the sum of the squares of primes given limit input x Ex. x = 10, output = 2^2 + 3^2 + 5^2 + 7^2

8 years 前

已解决


Square of the sum of optimus
Get the square of the sum of all primes given the limit input x

8 years 前

已解决


Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 x1 = 123444...

8 years 前

已解决


Mode of Optimus!!!
Get the mode of primes of input x When you get the output, you'll know what mode Optimus is always using :)

8 years 前

已解决


Calculate geostrophic current
eta0=0.01; R=300; f=0.01; g=9.81; x=-500:50:500; y=-500:50:500; [x y]=meshgrid(x,y); eta=eta0*exp(-(x.^2+...

8 years 前

已解决


Ceil Me Now
Get the ceiling of the input matrix

8 years 前

已解决


Find my daddy long leg (No 's')
Given the ratio of the two legs,and the hypotenuse, find the value of the bigger leg

8 years 前

已解决


Calculate RMSE
RMSE(Root Mean Square Error) is widely used to calculate error. Calculate RMSE between [a] and [b] a=[1 2 3 4] b=[0 1 2 ...

8 years 前

加载更多