A résolu


Find the elements of a matrix according to a defined property.
From A = [5,2,3] and B = [1,2,3,4,5,6,7,8,9,10] produce a vector C where : C(1) is the sum of the first A(1) elements of B, ...

environ 12 ans il y a

A résolu


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F_n = F_(n-1) + F_(n-2) * where F_0 = 0 and F_1 ...

environ 12 ans il y a

A résolu


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

environ 12 ans il y a

A résolu


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

environ 12 ans il y a

A résolu


Find the position of first minimum value in an integer array with numbers
If x = [2 6 4 9 10 3 1 5 1] the the output should be 7, because the first minimum value (1) lies at the 7th position.

environ 12 ans il y a

A résolu


Max of a Vector
Write a function to return the max of a vector

environ 12 ans il y a

A résolu


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

environ 12 ans il y a

A résolu


"Find out the best cricket"
This is how I originally read Problem 2013, so let's just go with it. Give me the first and last name of the best cricket, rega...

environ 12 ans il y a

Réponse apportée
Image analysis on multiple images
You can use *uigetfile* to load in multiple images at once help uigetfile If the images are all of the same resolution, ...

environ 12 ans il y a | 1

| A accepté

A résolu


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

environ 12 ans il y a

A résolu


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

environ 12 ans il y a

Réponse apportée
Assign rename of structure with input command
You could use the *eval* command to do this, but *eval* can be problematic and usually should be avoided. If you were fine with ...

environ 12 ans il y a | 0

Réponse apportée
how to sum matrics inside a cell array?
Are all the matrices in your cell array the same size? If so, this should work: % Get random cell array with n cells. Here ...

environ 12 ans il y a | 3

Réponse apportée
creating numerical values from parts of a string read
Another option, using a lookaround operator. A = '0(07/24/2014 10:39:10.21304)' s = regexp(A,'(?<=:)\d+\.\d+','match'); ...

environ 12 ans il y a | 0

Réponse apportée
How can I plot two arrays with different number of columns in one figure with different colours?
Is this what you mean? A = [1:100;rand(1,100)]; % random example data B = [1:4;3*rand(1,4)]; plot(A(1,:),A(2,:),'-g',...

environ 12 ans il y a | 0

| A accepté

A résolu


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

environ 12 ans il y a

Réponse apportée
image processing using Matlab
*For your first question:* Is this strictly for appearances? If so, does *medfilt2* do what you want? rawImg = rgb2gray(i...

environ 12 ans il y a | 0

| A accepté

A résolu


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

environ 12 ans il y a

A résolu


Hard limit function
Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]

plus de 12 ans il y a

A résolu


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

plus de 12 ans il y a

A résolu


Narcissistic problem
How many likes has this problem?

plus de 12 ans il y a

A résolu


Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.

plus de 12 ans il y a

A résolu


reverse string
input='rama' output='amar'

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


Palindrome Check
Check whether the entire matrix is palindrome or not. Example matrix = [7 8 7] matrix_reverse = [7 8 7] So the mat...

plus de 12 ans il y a

A résolu


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

plus de 12 ans il y a

A résolu


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

plus de 12 ans il y a

A résolu


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

plus de 12 ans il y a

Charger plus