Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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.

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

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

mehr als 11 Jahre vor | 1

| akzeptiert

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 3

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

Gelöst


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

mehr als 11 Jahre vor

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

mehr als 11 Jahre vor | 0

| akzeptiert

Gelöst


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

mehr als 11 Jahre vor

Gelöst


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]

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


Narcissistic problem
How many likes has this problem?

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Mehr laden