Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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.

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

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

más de 11 años hace | 1

| aceptada

Resuelto


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

más de 11 años hace

Resuelto


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

más de 11 años hace

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

más de 11 años hace | 0

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

más de 11 años hace | 3

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

Resuelto


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

más de 11 años hace

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

más de 11 años hace | 0

| aceptada

Resuelto


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

más de 11 años hace

Resuelto


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]

casi 12 años hace

Resuelto


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

casi 12 años hace

Resuelto


Narcissistic problem
How many likes has this problem?

casi 12 años hace

Resuelto


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

casi 12 años hace

Resuelto


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

casi 12 años hace

Resuelto


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

casi 12 años hace

Resuelto


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

casi 12 años hace

Resuelto


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

casi 12 años hace

Resuelto


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

casi 12 años hace

Resuelto


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

casi 12 años hace

Resuelto


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

casi 12 años hace

Resuelto


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

casi 12 años hace

Cargar más