Resuelto


Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

casi 6 años hace

Resuelto


Bruh
Return 'bruh'.

casi 6 años hace

Resuelto


Given a matrix A (size m x n) create a matrix B (size m+2 x n+2) which consists of matrix A surrounded by zeros. See Example below:
A = [1 2 3 4 5 6] ----------- B = [0 0 0 0 0 0 1 2 3 0 0 4 5 6 0 0 0 0 0 0]

casi 6 años hace

Resuelto


Find remainder when x is divided by 3
Find remainder when x is divided by 3

casi 6 años hace

Resuelto


modulus of a number
find the modulus of a given number

casi 6 años hace

Resuelto


UICBioE240 2.10
Given a vector of numbers, give the difference between the maximum and minimum values.

casi 6 años hace

Resuelto


UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

casi 6 años hace

Resuelto


UICBioE240 problem 1.2
Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

casi 6 años hace

Resuelto


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

casi 6 años hace

Resuelto


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

casi 6 años hace

Resuelto


Generate the Matrix!
Given n, generate the following matrix: a = [ n n-1 n-2 ... 2 1; n-1 n-1 n-2 ... 2 1; n-2 n-2 n-2 ... 2 1;...

casi 6 años hace

Resuelto


Change Vector Value
Change the element of the vector with respect to the element of the direction vector If the element of the direction vecto...

casi 6 años hace

Resuelto


Add two hex numbers
Add two hex numbers

casi 6 años hace

Resuelto


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

casi 6 años hace

Resuelto


Matrix which contains the values of an other matrix A at the given locations.
If you have two matrices, which together give xc and yc coordinates into another matrix, eg : xc = [1 1 1; 2 2 1]; ...

casi 6 años hace

Resuelto


Saving MATLAB session to a file
How to save MATLAB session to a file?

casi 6 años hace

Resuelto


Variable_Addition
be able to add any variable to the number one

casi 6 años hace

Resuelto


UICBioE240 problem 1.17
In the expression (2+5i), how does MATLAB read the expressions A = 2+5i B = 2+5*i C = both are okay Write capital letter a...

casi 6 años hace

Resuelto


Product of Array
Given an array of numbers. Get the product of the array.

casi 6 años hace

Resuelto


Sum of integers numbers
Sum of the numbers from 1 to 100

casi 6 años hace

Resuelto


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

casi 6 años hace

Resuelto


UICBioE240 problem 1.6
Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

casi 6 años hace

Resuelto


Alkane
Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...

casi 6 años hace

Resuelto


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

casi 6 años hace

Resuelto


Basics: Divide integers to get integer outputs in all cases
Divide integers a and b in such a way that output y is always an integer (in ceil manner)

casi 6 años hace

Resuelto


Largest Prime Number
Given a matrix X, find the largest prime number in X.

casi 6 años hace

Resuelto


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

casi 6 años hace

Resuelto


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

casi 6 años hace

Resuelto


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

casi 6 años hace

Resuelto


Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

casi 6 años hace

Cargar más