已解决


Largest Prime Number
Given a matrix X, find the largest prime number in X.

7 years 前

已解决


Low level NaN
* I have a dataset. Columns represents different variables. * A variable may start with NaN or any double type number. * If i...

7 years 前

已解决


Determine if a row vector has NaN
Determine if a row vector x has NaN

7 years 前

已解决


Create a matrix from a cell
In this problem , you must convert a cell into a matrix and pad each cell with NaN. *Example 1:* If you have the input...

7 years 前

已解决


Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

7 years 前

已解决


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

7 years 前

已解决


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

7 years 前

已解决


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

7 years 前

已解决


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

7 years 前

已解决


Negative matrix
Change the sign of all elements in given matrix.

7 years 前

已解决


Dice face matrix!
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...

7 years 前

已解决


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

7 years 前

已解决


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

7 years 前

已解决


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

7 years 前

已解决


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

7 years 前

已解决


Positive Infinity
Round the array a towards positive infinity

7 years 前

已解决


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

7 years 前

已解决


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

7 years 前

已解决


Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

7 years 前

已解决


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

7 years 前

已解决


Generate a random matrix A of (1,-1)
Input n: is an positive integer which serves as the dimension of the matrix A; Output: A=(Aij),where each entry Aij is either...

7 years 前

已解决


Concatenate two strings
Its very easy. Just concatenate two strings.

7 years 前

已解决


Times 3 problem
When you enter the number, it should return the number multiplied by 3

7 years 前

已解决


Remove the Zero
Given an array n, remove all zeros

7 years 前

已解决


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

7 years 前

已解决


Negative Infinity
Round the given array a towards negative infinity.

7 years 前

已解决


construct matrix with identical rows
Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x. E...

7 years 前

已解决


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

7 years 前

已解决


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

7 years 前

已解决


Count given word x in text.
Count how many times given word x repeats in text.

7 years 前

加载更多