Gelöst


Can you reshape the matrix?
Given a matrix A, is it possible to reshape it into another matrix with the given number of rows?

mehr als 10 Jahre vor

Gelöst


Polynomial Evaluation
Create a routine that takes a list of coefficients of a polynomial in order of increasing powers of x; together with a value of ...

mehr als 10 Jahre vor

Gelöst


Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

mehr als 10 Jahre vor

Gelöst


Find Month & day for given day number of a year
Find Month & day for given day number of a year (day number is any number ranging from 1 to 366)

mehr als 10 Jahre vor

Gelöst


sparse_matrix
You convert a vector to a sparse matrix. for example *x* =[1 2 3]; output will be *y* = [1 0 0 ...

mehr als 10 Jahre vor

Gelöst


Find the Area of a Polygon
Consider 2-D geometry and assume that the points are given in form of rows of a matrix. Find the area of polygon enclosed by the...

mehr als 10 Jahre vor

Gelöst


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

mehr als 10 Jahre vor

Gelöst


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

mehr als 10 Jahre vor

Gelöst


Step up
For given input array, output a array with all elements step up by two

mehr als 10 Jahre vor

Gelöst


Find 1's Complement
Find 1's complement of a binary number For Example: x = 10011010 1's complement of x = 01100101

mehr als 10 Jahre vor

Gelöst


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

mehr als 10 Jahre vor

Gelöst


Number of occurrences of letter in a text
Given an input text either as a string or as a cell array of strings, return a (1 x 26) matrix containing the number of occurren...

mehr als 10 Jahre vor

Gelöst


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

mehr als 10 Jahre vor

Gelöst


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

mehr als 10 Jahre vor

Gelöst


Convert from integer to binary
if true % decimalToBinaryVector(x) end

mehr als 10 Jahre vor

Gelöst


Spherical Volume
Calculate the volume of a sphere.

mehr als 10 Jahre vor

Gelöst


Find the nearest prime
Given a positive integer 'n', the task is to find a prime number greater than or equal to 'n'. Example 1 If given 'n' is ...

mehr als 10 Jahre vor

Gelöst


Why?
Why has been a major question throughout history; why did Napoleon fail, why do we exist, why must I work a pageant, to name a f...

mehr als 10 Jahre vor

Gelöst


Odd elimination
Inspired by Project Euler problem #539 You'll be given a vector from 1 to n; Going from left to right, remove the first n...

mehr als 10 Jahre vor

Gelöst


Angle bisectors
Given 2 direction vectors, calculate the *_two_ (2) normalized angle bisectors* (which are perpendicular between them). Input...

mehr als 10 Jahre vor

Gelöst


Convert integer to base26 using letters
Write a function that converts a decimal integer to base26 using the letters of the english alphabet, i.e. 0->'a', 1->'b', 2->'c...

mehr als 10 Jahre vor

Beantwortet
How can I get MATLAB to play a video without delay?
Assuming you have the Computer Vision System Toolbox, you can use VideoFileReader and VideoPlayer objects. doc vision.Video...

mehr als 10 Jahre vor | 0

Gelöst


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

mehr als 10 Jahre vor

Gelöst


Adding numbers
Add two numbers together

mehr als 10 Jahre vor

Beantwortet
explanation of two instructions
It is difficult to tell without knowing more about certain variables that aren't defined in the photo you provided (e.g. Ne, L),...

mehr als 10 Jahre vor | 0

Beantwortet
Random numbers between 1 and 10 with limited attempts?
Here is one alternative approach that removes the for-loop altogether: pickme = randi(10); %the number we want the user to ...

mehr als 10 Jahre vor | 2

Beantwortet
Random numbers between 1 and 10 with limited attempts?
The script doesn't stop because it wants to finish the for-loop first. It will not check the line 'while Guessedcorrectly == 0' ...

mehr als 10 Jahre vor | 1

| akzeptiert

Gelöst


Perl 2: pop
_This is part of a series of perl function which were very helpful for many perl programmers. Could you implement it in Matlab?_...

mehr als 10 Jahre vor

Gelöst


Convert elements in numeric array into different class
Write a function that converts elements in a numeric array into a different class. Example: a = [1:5]; % class: double b...

mehr als 10 Jahre vor

Gelöst


Is there a GPU Device?
Return true if there is a supported GPU device available on the Cody computer.

mehr als 10 Jahre vor

Mehr laden