Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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.

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

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

11 years ago | 1

| accepted

Solved


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

11 years ago

Solved


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

11 years ago

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

11 years ago | 0

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

11 years ago | 3

Answered
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'); ...

11 years ago | 0

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

11 years ago | 0

| accepted

Solved


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

11 years ago

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

11 years ago | 0

| accepted

Solved


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

11 years ago

Solved


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]

11 years ago

Solved


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

11 years ago

Solved


Narcissistic problem
How many likes has this problem?

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Solved


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

11 years ago

Load more