Risolto


Digits eliminate
Complete the function my_f(n,b) to return, for a given integer, the number obtained by removing the digits '0' and 'b'. If there...

oltre un anno fa

Risolto


Range of Values in a Matrix
Create a function that accepts a matrix of real numbers as input and returns the range of the values contained in the matrix. Th...

oltre un anno fa

Domanda


Advanced matlab function autocompletion based on previous input
Hello Matlab community! first question for me: Short question: is there an easy/documented way (or is it gonna be implemented i...

quasi 2 anni fa | 2 risposte | 0

2

risposte

Risolto


Tic-Tac-Logic - Solution Checker
<http://www.conceptispuzzles.com/index.aspx?uri=puzzle/tic-tac-logic/rules Tic-Tac-Logic> is a logic puzzle wherein a rectangula...

quasi 2 anni fa

Risolto


BLOCK x3 (Version 4)
Always in this series ( <http://www.mathworks.com/matlabcentral/cody/problems/2451-block-x3-version-1/ 2451>, <http://www.mathwo...

quasi 2 anni fa

Risolto


BLOCK x3 (Version 3)
An extension to problems <http://www.mathworks.com/matlabcentral/cody/problems/2451-block-x3-version-1/ 2451> (by me) and <http:...

quasi 2 anni fa

Risolto


BLOCK x3 (Version 2)
An extension to problem 2451 ( <https://www.mathworks.com/matlabcentral/cody/problems/2451-block-x3-version-1> ). It is based...

quasi 2 anni fa

Risolto


Easy Sequences 117: Fractional Part of Cube Roots
The fractional part function of a positive real number , denoted as , is defined as: , where , is the floor of . Thus, , and . ...

quasi 2 anni fa

Risolto


Diagonal Pattern
For a positive integer |n|, return an |nXn| matrix |mat| such that the value of each element in row |i| and column |j| is given ...

quasi 2 anni fa

Risolto


Easy Sequences 25: Product of Series
The function 'P(n)' is defined as the series product: where 'T(n)' is the triangular sum: ...

quasi 2 anni fa

Risolto


Swap between rows
The idea is to swap between second and second last row Ex = [1 2 3 4 5; 5 4 3 2 1; 1 2 3 4 5; 1 2 3 4 5; ...

circa 2 anni fa

Risolto


Swap between first and last column
The idea is to swap between first and last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 ...

circa 2 anni fa

Risolto


Swap between first and last
The idea is to swap between first and last row Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

circa 2 anni fa

Risolto


Remove a specific character with another
Remove any (-) dash sign with (_) underscore Ex = 'The-Journey-of-thoudsands-miles-starts-with-a-single-step' y = 'The_Jour...

circa 2 anni fa

Risolto


Swap between columns
The idea is to swap between second and second last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

circa 2 anni fa

Risolto


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

circa 2 anni fa

Risolto


Flip the diagonal values
Write a program that flip the elements of main diagonal , upper and lower diagonal values of a sqare matrix. For example if a ...

circa 2 anni fa

Risolto


Pose interpolation in 2D
Consider two poses represented by homogeneous transformation matrices: |T1| and |T2|. Write an algorithm to interpolate between...

circa 2 anni fa

Risolto


List numbers that are not squares
The numbers 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 17, etc. are not perfect squares. Write a function to list the th term in ...

circa 2 anni fa

Risolto


Display positive elements of matrix.
Display positive elements of matrix.

circa 2 anni fa

Risolto


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

circa 2 anni fa

Risolto


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

circa 2 anni fa

Risolto


Calculate the area of a circle
Given a circle of diameter x calculate its area

circa 2 anni fa

Risolto


Divide pi
Divide pi by x!

circa 2 anni fa

Risolto


Number Power
Raise a number to itself.

circa 2 anni fa

Risolto


Find the surface area of a cone.
For instance, Given r (radius) = 3, and s (slant height) = 5: surface area should be 94.

circa 2 anni fa

Risolto


remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...

circa 2 anni fa

Risolto


Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

circa 2 anni fa

Risolto


row removal
Consider a matrix and remove the first row of the matrix.

circa 2 anni fa

Risolto


Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

circa 2 anni fa

Carica altro